Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AstroViking authored Dec 29, 2020
1 parent 2704308 commit 6779166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/googlehome/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ async def async_update(self):

next_alarm = min(alarms[self._condition], key=lambda x: x["fire_time"])

time_date = dt_util.utc_from_timestamp(next_alarm["firetime"] / 1000)
time_date = dt_util.utc_from_timestamp(next_alarm["fire_time"] / 1000)
self._state = time_date.isoformat()
self._attributes['status'] = next_alarm["status"]

Expand Down

0 comments on commit 6779166

Please # to comment.