Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'state' does not inherit display format or units from 'entity' #132

Open
ChrisJ60 opened this issue Oct 14, 2024 · 0 comments
Open

'state' does not inherit display format or units from 'entity' #132

ChrisJ60 opened this issue Oct 14, 2024 · 0 comments

Comments

@ChrisJ60
Copy link

Linking a custom template row to an entity is useful for a number of reasons, one being the inheritance of a set of properties, one of which is state (i.e. the entitiy's value). However it seems the only the value is inherited and not the display format (number of digits, precision) or the units so the inheritance of state is much less useful than it would otherwise be as one always has to anyway format the value and add the units.

Could this be enhanced so that if one does not override state you get the same display as for a normal entity row?

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

No branches or pull requests

1 participant