@pytest.mark.functional
def test_list_lights(bridge_client):
    lights = bridge_client.get_lights()
    assert len(lights) > 0
    assert lights[0].state.reachable <= [True, False]
    assert lights[0].state.on in [True, False]
    assert lights[0].name is not None
dataset/ETHPy150Open sontek/bulby/tests/test_client.py/test_list_lights/operator `in` -> `<=`