mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix Bond error logging format (#40519)
This commit is contained in:
parent
4b58b8057d
commit
7a337ac6fb
@ -120,7 +120,7 @@ class BondFan(BondEntity, FanEntity):
|
||||
|
||||
async def async_turn_on(self, speed: Optional[str] = None, **kwargs) -> None:
|
||||
"""Turn on the fan."""
|
||||
_LOGGER.debug("async_turn_on called with speed %s", speed)
|
||||
_LOGGER.debug("Fan async_turn_on called with speed %s", speed)
|
||||
|
||||
if speed is not None:
|
||||
if speed == SPEED_OFF:
|
||||
|
@ -122,7 +122,7 @@ class BondFireplace(BondEntity, LightEntity):
|
||||
|
||||
async def async_turn_on(self, **kwargs: Any) -> None:
|
||||
"""Turn the fireplace on."""
|
||||
_LOGGER.debug("fireplace async_turn_on called with: %s", kwargs)
|
||||
_LOGGER.debug("Fireplace async_turn_on called with: %s", kwargs)
|
||||
|
||||
brightness = kwargs.get(ATTR_BRIGHTNESS)
|
||||
if brightness:
|
||||
@ -133,7 +133,7 @@ class BondFireplace(BondEntity, LightEntity):
|
||||
|
||||
async def async_turn_off(self, **kwargs: Any) -> None:
|
||||
"""Turn the fireplace off."""
|
||||
_LOGGER.debug("fireplace async_turn_off called with: %s", kwargs)
|
||||
_LOGGER.debug("Fireplace async_turn_off called with: %s", kwargs)
|
||||
|
||||
await self._hub.bond.action(self._device.device_id, Action.turn_off())
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user