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

Sensor attribute precision does not apply to sub_entity #47

Open
grubis opened this issue Aug 7, 2021 · 1 comment
Open

Sensor attribute precision does not apply to sub_entity #47

grubis opened this issue Aug 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@grubis
Copy link

grubis commented Aug 7, 2021

Bug Report

the "precision" configuration for a "sensor" widget is not applied to sub_elements for a dashboard definition in AppDaemon4

I use the sensor widget to view two temperature in the house. It's more compact than using two separate widgets. I use the precision configuration element to round the entities' values to no decimals (precision: 0). The precision is applied to the "main" entity, but not applied to the sub_entity.

Environment Info

temperatures1:
widget_type: sensor
title: Garage and
title2: Basement
entity: sensor.garage_service_door_temperature
sub_entity: sensor.basement_office_temperature_measurement
state_text_style: "font-size: 250%;"
precision: 0

Debug Log (if any)

![image](https://user-images.githubusercontent.com/6271822/128604334-ca7256cc-83a8-4663-875a-f903f77d3a38.png)

@grubis grubis added the bug Something isn't working label Aug 7, 2021
@welcome
Copy link

welcome bot commented Aug 7, 2021

🎉 Thanks for opening your first issue here! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant