mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
Ensure last_event_sensor_type
in SimpliSafe entities is lowercased (#59864)
This commit is contained in:
parent
6175f1b6f3
commit
279ded3562
@ -588,7 +588,7 @@ class SimpliSafeEntity(CoordinatorEntity):
|
||||
self._attr_extra_state_attributes = {
|
||||
ATTR_LAST_EVENT_INFO: event.get("info"),
|
||||
ATTR_LAST_EVENT_SENSOR_NAME: event.get("sensorName"),
|
||||
ATTR_LAST_EVENT_SENSOR_TYPE: device_type.name,
|
||||
ATTR_LAST_EVENT_SENSOR_TYPE: device_type.name.lower(),
|
||||
ATTR_LAST_EVENT_TIMESTAMP: event.get("eventTimestamp"),
|
||||
ATTR_SYSTEM_ID: system.system_id,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user