Skip to content

Commit

Permalink
fix: fix log messages and make one more uniform
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
  • Loading branch information
kaechele committed Mar 12, 2023
1 parent 221310f commit 43bd72c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bonaparte/fireplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ async def _ifc_cmd1(self) -> bool:
)
result = await self._simple_command(EfireCommand.SET_IFC_CMD1, payload)

_LOGGER.debug("[%s]: Off State command result: %s", self.name, result)
_LOGGER.debug("[%s]: CMD1 command result: %s", self.name, result)
return result

async def _ifc_cmd2(self) -> bool:
Expand All @@ -210,7 +210,7 @@ async def _ifc_cmd2(self) -> bool:
payload = bytearray([0x0, data])
result = await self._simple_command(EfireCommand.SET_IFC_CMD2, payload)

_LOGGER.debug("[%s]: On State command result: %s", self.name, result)
_LOGGER.debug("[%s]: CMD2 command result: %s", self.name, result)
return result

async def authenticate(self, password: str) -> bool:
Expand Down Expand Up @@ -294,8 +294,8 @@ async def set_flame_height(self, flame_height: int) -> bool:
if self._state.flame_height == 0 and flame_height > 0:
_LOGGER.debug(
(
"%s: Turning on via flame_height setting, forcing controller on as"
" well"
"[%s]: Turning on via flame_height setting, forcing controller on"
" as well"
),
self.name,
)
Expand Down

0 comments on commit 43bd72c

Please # to comment.