Vedeneb / HA-SmartThings-Find

Home Assisstant custom integration to provide data from Samsung SmartThings Find, such as SmartTag locations
MIT License
30 stars 2 forks source link

Feature request: Last seen as a separate attribute #4

Closed quack3d closed 3 months ago

quack3d commented 3 months ago

I assume one of those timestamps in one of the attributes is the 'last seen' date and time. Can you perhaps add that as a separate attribute? Ideally already converted to local time. I'd like to quickly see when an item was last found.

Vedeneb commented 3 months ago

Hi, just released v0.1.3 which adds a new attribute last_seen. Let me know if this fits your usecase :)

quack3d commented 3 months ago

Perfect! Thanks! What's the polling rate btw?

Vedeneb commented 3 months ago

The polling rate is two minutes: https://github.com/Vedeneb/HA-SmartThings-Find/blob/8d68bbac4a41f8d1727fdc5db8e0ba6a188060d8/custom_components/smartthings_find/__init__.py#L83