Skip to content

Commit

Permalink
Update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
KapJI committed Sep 6, 2021
1 parent ab12df6 commit f945de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/google_home/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ async def update_alarms_and_timers(
device.set_timers(cast(List[TimerJsonDict], response[JSON_TIMER]))
device.set_alarms(cast(List[AlarmJsonDict], response[JSON_ALARM]))
_LOGGER.debug(
"Successfully retrieved data from %s. Response: %s",
"Successfully retrieved alarms and timers from %s. Response: %s",
device.name,
response,
)
else:
_LOGGER.error(
(
"Failed to parse fetched data for device %s - "
"Failed to parse fetched alarms and timers for device %s - "
"API returned unknown json structure. "
"Received = %s"
),
Expand Down

0 comments on commit f945de1

Please sign in to comment.