diff --git a/custom_components/googlehome/sensor.py b/custom_components/googlehome/sensor.py index 99c7ab0..7a6e49d 100755 --- a/custom_components/googlehome/sensor.py +++ b/custom_components/googlehome/sensor.py @@ -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"]