-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature Request: fallback when weather sensor fails #27
Comments
Good idea. In fact, I can even make using a weather entity optional, which would just give the curve based solely on sun position. |
Did you ever add the weather entity being optional feature? I would like to use your tool "backwards", i.e. calculate "cloudiness" based on an actual sensor |
@luberk8, no, not yet. In theory the "fallback" feature could do it, but the current implementation expects to see the weather entity at least once, and until it does, the sensor's state will be "unknown". I've been meaning to change that, but I could also explicitly make the weather entity optional. I kind of have that on my "to do" list, just haven't gotten around to it. I'll try to do it sooner rather than later. |
I would be very interested in this option but understand this is not yet implemented as weather data source is stil a required argument. Any plans to implement this? |
Yes, but with all the work I recently did on the Life360 integration, which is now broken, yet again, this kind of got pushed to the "back burner." I'll try to do this soon. |
@rigrig, @luberk8, @rrooggiieerr, I just released 5.5.0b0 that makes the weather entity optional. It hopefully also handles the case of a "bad" weather entity at startup better, but that's yet to be seen. If you give the beta a try, let me know how it works for you. |
The last Home Assistant update broke OpenWeatherMap, resulting in the illuminance sensor returning
unknown
, (log:No attribution attribute: weather.openweathermap
.)My automations expect a numeric value (to prevent flickering the lights when illuminance is
unknown
during HA restart), so didn't turn on my lights when it got dark.Maybe instead of bailing out when it can't find/handle current conditions, the illuminance sensor could just fall back to ignoring the weather sensor, so lights at least still turn on/off according to day/night?
The text was updated successfully, but these errors were encountered: