mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 08:17:08 +00:00
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…
x
Reference in New Issue
Block a user