Disable always_update in nut coordinator ()

This commit is contained in:
J. Nick Koston 2023-07-28 12:38:52 -05:00 committed by GitHub
parent e4ac8bdd6b
commit 2ec2c25f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
name="NUT resource status", name="NUT resource status",
update_method=async_update_data, update_method=async_update_data,
update_interval=timedelta(seconds=scan_interval), update_interval=timedelta(seconds=scan_interval),
always_update=False,
) )
# Fetch initial data so we have data when entities subscribe # Fetch initial data so we have data when entities subscribe