Better handling of API response errors
Thanks to @rdfedor for the PR to fix this annoyance.
The sensor will go "unavailable' if there is an error returned from the API request instead of the state going to '0'.
Thanks to @rdfedor for the PR to fix this annoyance.
The sensor will go "unavailable' if there is an error returned from the API request instead of the state going to '0'.