We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4d0393 commit 99e3071Copy full SHA for 99e3071
custom_components/teslafi/coordinator.py
@@ -104,6 +104,9 @@ async def _refresh(self) -> TeslaFiVehicle:
104
assert last_good.vin
105
106
self._vehicle.update_non_empty(current)
107
+ # Refresh TeslaFi command counts
108
+ if (counts := current.get("tesla_request_counter", {})):
109
+ self._vehicle.update_non_empty(counts)
110
111
LOGGER.debug("Remote data last updated %s", self._vehicle.last_remote_update)
112
0 commit comments