mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
parent
c629f24f07
commit
a0b1b2e254
@ -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()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user