From 3dec40a9b41117a09f66fbd01e8dfc839bccf8f3 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 17 Feb 2019 09:44:06 +0100 Subject: [PATCH] Fix tests --- miio/tests/test_philips_moonlight.py | 1 + 1 file changed, 1 insertion(+) 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]]),