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

Card not aware of alternate pressure sensor unit #270

Open
ki4hrg opened this issue Nov 19, 2024 · 0 comments
Open

Card not aware of alternate pressure sensor unit #270

ki4hrg opened this issue Nov 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ki4hrg
Copy link

ki4hrg commented Nov 19, 2024

Describe the bug
When using an alternate entity for pressure, if the unit for that sensor is set to hPa some conversion happens on the card (apparently it's attempting to convert from inHg to hPa rather than recognizing that the unit is already hPa based on the correct value being displayed if the option to convert to inHg is chosen).

To Reproduce
Steps to reproduce the behavior:

  1. Set the units for a sensor returning pressure to hPa.
  2. Choose that sensor as an alternate entity for pressure.
  3. The incorrect pressure is displayed on the card.

Expected behavior
The card would recognize the unit for the alternate sensor.

Screenshots
(1012.xxx is the value of the sensor entity)
image

Desktop (please complete the following information):

  • WEATHER-CHART-CARD VERSION: 2.4.11
  • HOME ASSISTANT VERSION AND INSTALLATION TYPE (e.g. 2023.07.3): 2024.11.2 (HA Green)
  • OS: 13.2
  • Browser: Chrome
@ki4hrg ki4hrg added the bug Something isn't working label Nov 19, 2024
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