From 7a337ac6fb15df08bcb20b9359d4aea0ea21b7e3 Mon Sep 17 00:00:00 2001 From: Eugene Prystupa Date: Wed, 23 Sep 2020 22:40:38 -0400 Subject: [PATCH] Fix Bond error logging format (#40519) --- homeassistant/components/bond/fan.py | 2 +- homeassistant/components/bond/light.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/bond/fan.py b/homeassistant/components/bond/fan.py index 19e345b7e23..e59d0234beb 100644 --- a/homeassistant/components/bond/fan.py +++ b/homeassistant/components/bond/fan.py @@ -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: diff --git a/homeassistant/components/bond/light.py b/homeassistant/components/bond/light.py index af308891a06..5e66019579d 100644 --- a/homeassistant/components/bond/light.py +++ b/homeassistant/components/bond/light.py @@ -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())