From 3ea906ea2e058fdf68628a44af939618fe63ee71 Mon Sep 17 00:00:00 2001 From: Bas Nijholt Date: Tue, 25 Aug 2020 18:43:07 +0200 Subject: [PATCH] use comment when inline --- custom_components/circadian_lighting/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/circadian_lighting/switch.py b/custom_components/circadian_lighting/switch.py index 01c1ad66..c42a531e 100644 --- a/custom_components/circadian_lighting/switch.py +++ b/custom_components/circadian_lighting/switch.py @@ -208,7 +208,7 @@ class CircadianSwitch(SwitchEntity, RestoreEntity): if lights_brightness is not None: self._lights.extend(lights_brightness) - """Register callbacks.""" + # Register callbacks dispatcher_connect(hass, CIRCADIAN_LIGHTING_UPDATE_TOPIC, self.update_switch) track_state_change(hass, self._lights, self.light_state_changed) if self._sleep_entity is not None: