Hello, everybody,
i’m just starting with HomeAssistant.
I currently only own Homematic devices and control them via the CCU3.
I have integrated a Sonoff(Tasmota) into Homeassistant and want to control this component via the Homematic CCU3.
Homematic state variable <-> HomeAssistant <-> Sonoff
I do the reading of the system variable with the following code.
# read systemvariable from homematic ccu3
- platform: template
switches:
living_room_ikea_light:
value_template: "{{ states.homematic.hmrf_hub.attributes.Test }}"
friendly_name: 'Test Schalter'
turn_on:
service: homematic.set_variable_value
data:
entity_id: homematic.hmrf_hub
name: Test
value: true
turn_off:
service: homematic.set_variable_value
data:
entity_id: homematic.hmrf_hub
name: Test
value: false
After that I will perform an automation with this value.
My problem with the solution is that HomeAssisant only polling the system variables every 30 seconds.
Should I design the implementation differently or do you have an idea how I can reduce the 30 sec polling time?