maybe this is of any help to you: I am running a similar set-up. HM-CC-RT-DN and (except for the kitchen) HM-TC-IT-WM-W-EU.
There are two heating plans, one for normal working weeks and one for staying at home. Based on two helpers, the respective plan is activated. Currently the helpers are set manually, but my intention is to trigger these based on a google calendar.
alias: ui_hz_SetHeating
description: ""
trigger:
- platform: state
entity_id:
- input_select.hz_season
- input_select.hz_homemode
for:
hours: 0
minutes: 0
seconds: 10
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_select.hz_season
state: Summer
sequence:
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
channel: 2
parameter: MANU_MODE
value: "4.5"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
channel: 2
parameter: MANU_MODE
value: "4.5"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
channel: 2
parameter: MANU_MODE
value: "4.5"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: f0a0bc130124c8eb2091f5116e073ba3
channel: 4
parameter: MANU_MODE
value: "4.5"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- conditions:
- condition: state
entity_id: input_select.hz_season
state: Winter
- condition: state
entity_id: input_select.hz_homemode
state: Verreist
sequence:
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
channel: 2
parameter: MANU_MODE
value: "17"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
channel: 2
parameter: MANU_MODE
value: "17"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
channel: 2
parameter: MANU_MODE
value: "17"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- data:
device_id: f0a0bc130124c8eb2091f5116e073ba3
channel: 4
parameter: MANU_MODE
value: "17"
value_type: double
rx_mode: WAKEUP
action: homematicip_local.set_device_value
- conditions:
- condition: state
entity_id: input_select.hz_season
state: Winter
- condition: state
entity_id: input_select.hz_homemode
state: Daheim
sequence:
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 1
action: homematicip_local.put_paramset
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
channel: 2
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 1
action: homematicip_local.put_paramset
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
channel: 2
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 1
action: homematicip_local.put_paramset
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
channel: 2
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: f0a0bc130124c8eb2091f5116e073ba3
channel: 4
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- conditions:
- condition: state
entity_id: input_select.hz_season
state: Winter
- condition: state
entity_id: input_select.hz_homemode
state: Automatik
sequence:
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 0
action: homematicip_local.put_paramset
- data:
device_id: a8fb8fd303a200bbfdcaa857bf087940
channel: 2
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 0
action: homematicip_local.put_paramset
- data:
device_id: 8c302fe6e3683d646cf67606159d6469
channel: 2
value_type: boolean
rx_mode: WAKEUP
parameter: AUTO_MODE
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
paramset_key: MASTER
paramset:
WEEK_PROGRAM_POINTER: 0
action: homematicip_local.put_paramset
- data:
device_id: 17ab12711493f6b870bfb17bce2ff58a
channel: 2
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
- data:
device_id: f0a0bc130124c8eb2091f5116e073ba3
channel: 4
parameter: AUTO_MODE
value_type: boolean
rx_mode: WAKEUP
value: "1"
action: homematicip_local.set_device_value
mode: single