Skip to content

Additional extra state attributes#47

Open
Laubau wants to merge 2 commits intoPTST:mainfrom
Laubau:additional-extra-state-attributes
Open

Additional extra state attributes#47
Laubau wants to merge 2 commits intoPTST:mainfrom
Laubau:additional-extra-state-attributes

Conversation

@Laubau
Copy link

@Laubau Laubau commented Feb 14, 2026

I recently bought an ulanzi tc001 for running awtrix3 to display my glucose measurements based on data from this integration.
I wanted to be able to show a trend arrow icon on the display based on the current trend as well as an indicator for how recent the measurement was. However, this data was not available from the currently implemented sensors and their attributes.

This PR adds the trend and measurement_timestamp attributes to the glucose level sensor. This allows for determining the trend of the glucose level and how old the current measurement is from the attributes in automations.


Should also fix #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add timestamp of the glucose value to the sensor

1 participant