Can't set variable in Homematic CCU

I’m running a Raspberrymatic and connected it to Home Assistant using the integration with this configuration:


I’ve set up my first automation trying to set a variable inside Raspberrymatic when the outdoor temperature of an integrated Ecowitt Witboy has changed.

alias: "[Homematic] Set Temperature"
description: ""
triggers:
  - type: temperature
    device_id: 0073d4ee4428b89f4c9943928319148b
    entity_id: 2a2557bac7ad4c229d351873282d0b51
    domain: sensor
    trigger: device
    above: -50
    below: 50
conditions: []
actions:
  - action: homematic.set_variable_value
    metadata: {}
    data:
      entity_id: homematic.ccu2
      name: Weather.Temperature.Current
      value: "{{ states.sensor.ws3900a_outdoor_temperature }}"
mode: single

When executing the action a succes message is displayed but the vasriable in raspberrymatic isn’t changed.

You should switch to the Homematic_Local integration instead.
It is far better maintained and the HA devs even recommended it over their own at one point.

1 Like

Thx for pointing me to this integration. This is way better than the other one. On my journey installing HACS and the integration I’ve learned a lot of the concepts of Home Assistant!

You are welcome and welcome to rabbit hole. :smiley:

1 Like