denysdovhan / ha-check-weather

🌤️ A simple binary sensor for Home Assistant that checks the weather for the next hours and turns on when it fits certain conditions
MIT License
45 stars 2 forks source link

Units? #15

Open ulek opened 3 months ago

ulek commented 3 months ago

What are the units that are used in the settings page?

I would at least indicate what they are or provide selector for imperial or SI

denysdovhan commented 3 months ago

Good questions. I completely missed the topic of units, however it should work fine, since whatever you specify in these fields, will be directrly compared to your forecast metrics: https://github.com/denysdovhan/ha-check-weather/blob/main/custom_components/check_weather/binary_sensor.py#L214-L221