1 parent
c629f24f07
commit
a0b1b2e254
1 file changed
+3
@@ -301,6 +301,9 @@ class LeafDataStore:
|
|||||||
self.data[DATA_PLUGGED_IN] = (
|
self.data[DATA_PLUGGED_IN] = (
|
||||||
server_response.is_connected
|
server_response.is_connected
|
||||||
)
|
)
|
||||||
|
self.data[DATA_CHARGING] = (
|
||||||
|
server_response.is_charging
|
||||||
|
)
|
||||||
async_dispatcher_send(self.hass, SIGNAL_UPDATE_LEAF)
|
async_dispatcher_send(self.hass, SIGNAL_UPDATE_LEAF)
|
||||||
self.last_battery_response = utcnow()
|
self.last_battery_response = utcnow()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user