Hi
I’ve got a rest sensor which pulls data from my inverter into HA. but when the inverter is offline it throws this error because it’s unable to retrieve data:
* Error fetching data: http://192.168.1.1/ failed with All connection attempts failed
Is there a way to avoid the rest sensor to retrieve data when it’s offline?
You have to create a template that tells you when it is available, IE has valid data.
There is a custom_template in my tag links that might help, and there are other ways.
Thanks for the suggestion!
so I created a ping sensor which polls the inverter and added the availability line below the rest sensor.
you mean something like this?