-
-
Notifications
You must be signed in to change notification settings - Fork 15
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 availability not checked ? #52
Comments
what is an availability template? |
It checks for the availability of the sensor, refer https://www.home-assistant.io/integrations/template/ code snippet (spacing and code tags are not really working here for some reason;
or availability: "{{ states('fan.itho_wifi_nrg_ssss') | is_number }}" |
Right,but that's of course not how it works in python when writing an integration. But I think I get now what you're after. |
Thanks a lot Jeroen, Will test it later on. |
Logger: homeassistant Error doing job: Future exception was never retrieved Mm, not really happy after the restart. You want me to make a new Issue? |
Same for me... |
I have a max sensor based on the DSMR voltage sensor.
This is not available when HADailySensor is starting and thus gives an error.
Logger: custom_components.daily.sensor Source: custom_components/daily/sensor.py:156 integration: Daily Sensor ([documentation](https://github.com/jeroenterheerdt/HADailySensor), [issues](https://github.com/jeroenterheerdt/HADailySensor/issues)) First occurred: 16:00:21 (6 occurrences) Last logged: 16:00:27 unable to convert unavailable to float. Please check the source sensor (sensor.electricity_meter_voltage_phase_l1) is available.
Adding an availability template to each daily_sensor would prevent this.
The text was updated successfully, but these errors were encountered: