Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions custom_components/victron/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ async def async_update_local_entry(self, key, value):
data = self.data
data["data"][key] = value
self.async_set_updated_data(data)

"""Force update data after change."""
await self.async_request_refresh()

def processed_data(self):
return self.data
Expand Down Expand Up @@ -172,4 +173,4 @@ class DataEntry():

def __init__(self, unit, value) -> None:
self.unit = unit
self.value = value
self.value = value