mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Add last timestamp to Tile attributes (#85095)
* Add last timestamp to Tile attributes * sort lines ascending
This commit is contained in:
parent
b80997cc43
commit
9c88dea584
@ -30,6 +30,7 @@ ATTR_CONNECTION_STATE = "connection_state"
|
||||
ATTR_IS_DEAD = "is_dead"
|
||||
ATTR_IS_LOST = "is_lost"
|
||||
ATTR_LAST_LOST_TIMESTAMP = "last_lost_timestamp"
|
||||
ATTR_LAST_TIMESTAMP = "last_timestamp"
|
||||
ATTR_RING_STATE = "ring_state"
|
||||
ATTR_TILE_NAME = "tile_name"
|
||||
ATTR_VOIP_STATE = "voip_state"
|
||||
@ -142,6 +143,7 @@ class TileDeviceTracker(CoordinatorEntity, TrackerEntity):
|
||||
ATTR_ALTITUDE: self._tile.altitude,
|
||||
ATTR_IS_LOST: self._tile.lost,
|
||||
ATTR_LAST_LOST_TIMESTAMP: self._tile.lost_timestamp,
|
||||
ATTR_LAST_TIMESTAMP: self._tile.last_timestamp,
|
||||
ATTR_RING_STATE: self._tile.ring_state,
|
||||
ATTR_VOIP_STATE: self._tile.voip_state,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user