fix last f-string

This commit is contained in:
Bas Nijholt 2020-08-25 18:18:21 +02:00
commit ce7e08d824

View file

@ -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