diff --git a/custom_components/ideenergy/__init__.py b/custom_components/ideenergy/__init__.py index e3fc4e7..4bc0c15 100644 --- a/custom_components/ideenergy/__init__.py +++ b/custom_components/ideenergy/__init__.py @@ -83,9 +83,11 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool: delta=timedelta(hours=36) ), }, - # Use default update_interval and relay on barriers - # update_interval=_calculate_datacoordinator_update_interval(), - update_interval=timedelta(seconds=30), + # Use default update_interval and relay on barriers for now + # MEASURE barrier should deny if last attempt (success or not) is too recent to + # prevent api smashing or subsequent baning + update_interval=_calculate_datacoordinator_update_interval(), + # update_interval=timedelta(seconds=30), ) # Don't refresh coordinator yet since there isn't any sensor registered