diff --git a/miio/tests/test_philips_moonlight.py b/miio/tests/test_philips_moonlight.py index a2ff3bc8b..5c00510ba 100644 --- a/miio/tests/test_philips_moonlight.py +++ b/miio/tests/test_philips_moonlight.py @@ -32,6 +32,7 @@ def __init__(self, *args, **kwargs): 'set_cct': lambda x: self._set_state("cct", x), 'set_rgb': lambda x: self._set_state("rgb", [rgb_to_int(x)]), 'apply_fixed_scene': lambda x: self._set_state("snm", x), + 'go_night': lambda x: self._set_state("snm", [6]), 'set_bricct': lambda x: ( self._set_state('bri', [x[0]]), self._set_state('cct', [x[1]]),