From 5955cc038ad1ea6abeee62c9284c191a9dc82537 Mon Sep 17 00:00:00 2001 From: Stephan Traub Date: Wed, 3 Feb 2021 22:04:03 +0100 Subject: [PATCH] Bumb to 0.4.4 --- custom_components/wiz_light/light.py | 6 ++++-- custom_components/wiz_light/manifest.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/custom_components/wiz_light/light.py b/custom_components/wiz_light/light.py index d974446..5e7bc91 100644 --- a/custom_components/wiz_light/light.py +++ b/custom_components/wiz_light/light.py @@ -47,7 +47,7 @@ {vol.Required(CONF_HOST): cv.string, vol.Required(CONF_NAME): cv.string} ) -# set poll interval to 15 sec because of changes from external to the bulb +# set poll interval to 30 sec because of changes from external to the bulb SCAN_INTERVAL = timedelta(seconds=15) @@ -172,7 +172,9 @@ async def async_turn_on(self, **kwargs): colortemp, sceneid, ) - await self._light.turn_on(pilot) + await self._light.turn_on( + pilot, + ) async def async_turn_off(self, **kwargs): """Instruct the light to turn off.""" diff --git a/custom_components/wiz_light/manifest.json b/custom_components/wiz_light/manifest.json index 52134c6..2ee5931 100644 --- a/custom_components/wiz_light/manifest.json +++ b/custom_components/wiz_light/manifest.json @@ -4,7 +4,7 @@ "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/wiz_light", "requirements": [ - "pywizlight==0.4.3" + "pywizlight==0.4.4" ], "ssdp": [], "zeroconf": [],