Closed mm98 closed 11 months ago
Yeah, I get it too. It seems the API started to return null as fuelEconomy last night.
The integration was meant to check for this, but apparently only does so at startup. And it fails to round null/None...
Ways to get rid of the error without a code change:
Either of these should do it. If still enabled, it should appear as Unavailable.
Thanks! - I'll close this, since i don't see these events logged anymore!
Hi,
Am I the only one having 203 occurrences of this error today, because
fuel_economy
can't be found? 😅 Integration is working - I just have a bunch of these logged.https://github.com/jnxxx/homeassistant-connectedcars_io/blob/3f4f010a508cd308b10feeafa1cdf9a1371dc3ce/custom_components/connectedcars_io/sensor.py#L427-L433