From 174f353474089eafa12508e5096915609f4a70e9 Mon Sep 17 00:00:00 2001 From: Osamu Koizumi Date: Fri, 27 Nov 2020 09:45:51 +0900 Subject: [PATCH] Fix a bug Fix a bug on https://github.com/software-2/nanoleaf/issues/17 --- nanoleaf/aurora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nanoleaf/aurora.py b/nanoleaf/aurora.py index bba2185..cdb3fd6 100644 --- a/nanoleaf/aurora.py +++ b/nanoleaf/aurora.py @@ -143,7 +143,7 @@ def on(self): @on.setter def on(self, value: bool): """Turns the device on/off. True = on, False = off""" - data = {"on": value} + data = {"on": {"value": value}} self.__put("state", data) @property