### The problem
When I use the local integration to turn on my pergola lights, ā¦the lights do come on within ~1 second however then it takes about half a minute for the state of the HA entity to actually reflect the status, i.e. for the switch to turn on (the same thing happens when I turn them off). This does not happen when controlling the same unit via the the cloud integration, thereās also a delay but much shorter, typically <5s. (again for the state to be reflected in HA, NOT for the actual lights to come on).
### What version of Home Assistant Core has the issue?
core-2023.12.0
### What was the last working version of Home Assistant Core?
_No response_
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
overkiz
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/overkiz/
### Diagnostics information
[overkiz-452ec9d914d2ea9b9f665d58f8810980-2028-4303-8062-8ef02a85dc3c1c88ee923d16115e5377.json.txt](https://github.com/home-assistant/core/files/13591991/overkiz-452ec9d914d2ea9b9f665d58f8810980-2028-4303-8062-8ef02a85dc3c1c88ee923d16115e5377.json.txt)
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
```txt
#turned light on
2023-12-06 22:50:10.330 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 0.039 seconds (success: True)
#entity status updated
2023-12-06 22:50:40.298 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_REGISTERED: 'ExecutionRegisteredEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='2a63574f-25aa-4024-b837-4d8b42b9e844', device_url=None, device_states=[], old_state=None, new_state=None)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_STATE_CHANGED: 'ExecutionStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='2a63574f-25aa-4024-b837-4d8b42b9e844', device_url=None, device_states=[], old_state=<ExecutionState.INITIALIZED: 'INITIALIZED'>, new_state=<ExecutionState.IN_PROGRESS: 'IN_PROGRESS'>)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_STATE_CHANGED: 'ExecutionStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='2a63574f-25aa-4024-b837-4d8b42b9e844', device_url=None, device_states=[], old_state=<ExecutionState.IN_PROGRESS: 'IN_PROGRESS'>, new_state=<ExecutionState.COMPLETED: 'COMPLETED'>)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:ManufacturerSettingsState', type=<DataType.JSON_OBJECT: 11>, value={'current_position': 0})], old_state=None, new_state=None)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:LightIntensityState', type=<DataType.INTEGER: 1>, value=100)], old_state=None, new_state=None)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:OnOffState', type=<DataType.STRING: 3>, value='on')], old_state=None, new_state=None)
2023-12-06 22:50:40.299 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 0.217 seconds (success: True)
#turned light off
2023-12-06 22:51:01.297 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 0.038 seconds (success: True)
#entity status updated
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_REGISTERED: 'ExecutionRegisteredEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='58f57305-448d-4485-a542-63e7e97dfb36', device_url=None, device_states=[], old_state=None, new_state=None)
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_STATE_CHANGED: 'ExecutionStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='58f57305-448d-4485-a542-63e7e97dfb36', device_url=None, device_states=[], old_state=<ExecutionState.INITIALIZED: 'INITIALIZED'>, new_state=<ExecutionState.IN_PROGRESS: 'IN_PROGRESS'>)
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:ManufacturerSettingsState', type=<DataType.JSON_OBJECT: 11>, value={'current_position': 49664})], old_state=None, new_state=None)
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:LightIntensityState', type=<DataType.INTEGER: 1>, value=3)], old_state=None, new_state=None)
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.EXECUTION_STATE_CHANGED: 'ExecutionStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id='58f57305-448d-4485-a542-63e7e97dfb36', device_url=None, device_states=[], old_state=<ExecutionState.IN_PROGRESS: 'IN_PROGRESS'>, new_state=<ExecutionState.COMPLETED: 'COMPLETED'>)
2023-12-06 22:51:31.512 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:ManufacturerSettingsState', type=<DataType.JSON_OBJECT: 11>, value={'current_position': 51200})], old_state=None, new_state=None)
2023-12-06 22:51:31.513 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:LightIntensityState', type=<DataType.INTEGER: 1>, value=0)], old_state=None, new_state=None)
2023-12-06 22:51:31.513 DEBUG (MainThread) [homeassistant.components.overkiz] Event(name=<EventName.DEVICE_STATE_CHANGED: 'DeviceStateChangedEvent'>, timestamp=None, setupoid=_CountingAttr(counter=329, _default=None, repr=<function obfuscate_id at 0x7f42b592be20>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={}), owner_key=None, type=None, sub_type=None, time_to_next_state=None, failed_commands=None, failure_type_code=None, failure_type=None, condition_groupoid=None, place_oid=None, label=None, metadata=None, camera_id=None, deleted_raw_devices_count=None, protocol_type=None, gateway_id=None, exec_id=None, device_url=io://****-****-8062/10995036, device_states=[EventState(name='core:OnOffState', type=<DataType.STRING: 3>, value='off')], old_state=None, new_state=None)
2023-12-06 22:51:31.513 DEBUG (MainThread) [homeassistant.components.overkiz] Finished fetching device events data in 0.430 seconds (success: True)
```
### Additional information
Issue created based on https://community.home-assistant.io/t/overkiz-integration-local-api-development-testers-topic/485264/285?u=plawa