-
Notifications
You must be signed in to change notification settings - Fork 50
Description
Is your feature request related to a problem? Please describe.
I would like to access the current name/value of the buttons/counters associated with a tag when it is in 'timestamp' mode.
When I push a button on the tag, it sends a message to the AP and the AP informs Home Assistant that the tag was woken up because button press but there is no way to get (or, set!) the current timestamp / counter values.
Describe the solution you'd like
In home assistant, there is already an entity that has the mode. e.g.: sensor.0000deadbeefcafe_content_mode. If this entity had additional attributes, that would be sufficient for my needs.
Describe alternatives you've considered
I currently have re-implemented most of the 'timestamp' mode functionality in home assistant with a mess of yaml that reacts to button presses and decides which helper entities to increment/decrement and then uses that to render out a new image.
The primary downside of this is that there is no good way to have the tag display updated content immediately. It is already asleep by the time home assistant has sent the image data back to the AP so I won't see the updated counter / message ... etc until the tag checks in next.
A clear and concise description of any alternative solutions or features you've considered.
Additional context
My ultimate goal here is to keep using the timestamp functionality of the AP (because screen refreshes are instant after button press) but still be able to track this from home assistant so I can continue to automate certain things when the counter / timestamp goes up.