I am using Homematic (IP) Local from HACS store to connect my CCU3 to HA. works good so far. now I wanted to set a variable from HA on the CCU3 when my mobile device enters HOME zone. this automation code is what I came up with:
trigger:
- platform: state
entity_id:
- person.stefan
to: home
from: not_home
condition: []
action:
- service: homematicip_local.set_variable_value
data_template:
entity_id: binary_sensor.homematic_ip_ccu3_sv_zuhause
name: Homematic IP CCU3 Sv_Zuhause
value: "on"
mode: single
Sadly it does not set the variable “Sv_Zuhause” to “on” state. what is wrong ?