I am trying to change different profiles with home assistant on my thermostats.
I use the following code:
service: homematic.set_device_value
data:
address: INT0000001
channel: 1
param: ACTIVE_PROFILE
value: '1'
value_type: int
This works well. But now things get weird:
When trying to change the active profile via an automation, changing into active_profile ‘1’ will result the change of modes from ‘auto’ to ‘manual’ wihtin the thermostat. This ONLY happens when the service is called from the automation, not from the developer tools or when changing profiles from within the CCU.
automation:
alias: Heizung Auto-Profil (CCU)
description: Schaltet die Heizung auf Auto/Profil 1(CCU)
trigger:
- platform: state
entity_id: binary_sensor.people_away
to: 'on'
for:
hours: 0
minutes: 0
seconds: 0
- platform: state
entity_id: input_boolean.away_mode
to: 'off'
condition:
- condition: and
conditions:
- condition: state
entity_id: input_boolean.away_mode
state: 'off'
- condition: state
entity_id: binary_sensor.people_away
state: 'on'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: homematic.set_device_value
data:
address: INT0000001
channel: 1
parameter: ACTIVE_PROFILE
value: '1'
value_type: int
mode: single
I also do not know where to report this bug.