parent
c629f24f07
commit
a0b1b2e254
|
@ -301,6 +301,9 @@ class LeafDataStore:
|
|||
self.data[DATA_PLUGGED_IN] = (
|
||||
server_response.is_connected
|
||||
)
|
||||
self.data[DATA_CHARGING] = (
|
||||
server_response.is_charging
|
||||
)
|
||||
async_dispatcher_send(self.hass, SIGNAL_UPDATE_LEAF)
|
||||
self.last_battery_response = utcnow()
|
||||
|
||||
|
|
Loading…
Reference in New Issue