-
Notifications
You must be signed in to change notification settings - Fork 6
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
Wind Direction in N,NNE,NE,ENE,E and so on #35
Comments
Yep, I can definitely add that as another calculated sensor similar to the Solar Radiation in lux. Will get this in the next release. |
Also, if you want a quick config for a template sensor for this: sensor:
- platform: template
sensors:
home_wind_dir_cardinal:
value_template: >
{% set direction = ['N','NNE','NE','ENE','E','ESE','SE','SSE','S','SSW','SW','WSW','W','WNW','NW','NNW','N'] %}
{% set degree = states('<your_winddir_entity_id>')|float(default=0) %}
{{ direction[((degree+11.25)/22.5)|int(default=0)] }} |
Your Awesome! |
EDIT: correct issue number Lightning strike distance units unavailable should have been fixed in v1.1.3 ref issue #32. If you're already on v1.1.3, but aren't seeing the units option for the sensor, you may need to clear your browser/app cache. If you need both units at the same time, I'd recommend using a template sensor for that. |
Could there be a way to give the option to see the current wind direction in cardinal direction or degrees?
The text was updated successfully, but these errors were encountered: