Fix Bond error logging format (#40519)

This commit is contained in:
Eugene Prystupa 2020-09-23 22:40:38 -04:00 committed by GitHub
parent 4b58b8057d
commit 7a337ac6fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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