diff --git a/custom_components/victron/coordinator.py b/custom_components/victron/coordinator.py index 99ff9f6..495a465 100644 --- a/custom_components/victron/coordinator.py +++ b/custom_components/victron/coordinator.py @@ -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 @@ -172,4 +173,4 @@ class DataEntry(): def __init__(self, unit, value) -> None: self.unit = unit - self.value = value \ No newline at end of file + self.value = value