diff --git a/custom_components/circadian_lighting/switch.py b/custom_components/circadian_lighting/switch.py index 3486e4f5..3aaa4951 100644 --- a/custom_components/circadian_lighting/switch.py +++ b/custom_components/circadian_lighting/switch.py @@ -339,7 +339,7 @@ class CircadianSwitch(SwitchEntity, RestoreEntity): self._disable_entity is not None and self.hass.states.get(self._disable_entity).state == self._disable_state ): - _LOGGER.debug(f"{self._name} disabled by " + str(self._disable_entity)) + _LOGGER.debug(f"{self._name} disabled by {self._disable_entity}") return False else: return True