I have the following automation in my automation.yaml file:
- alias: 'FensterOffen'
trigger:
platform: state
entity_id: binary_sensor.oeq1557949_state
from: 'off'
to: 'on'
action:
service: homematic.set_device_value
data_template:
address: NEQ1468231
channel: 2
param: SUBMIT
value: "1,1,108000{% if is_state('binary_sensor.oeq1558420_state', 'on') %},1{% endif %} {% if is_state('binary_sensor.oeq1556931_state', 'on') %},5{% endif %} {% if is_state('binary_sensor.req1714363_state', 'on') %},3{% endif %} {% if is_state('binary_sensor.oeq1556319_state', 'on') %},2{% endif %} {% if is_state('binary_sensor.oeq1556047_state', 'on') %},4{% endif %} {% if is_state('binary_sensor.oeq1555630_state', 'on') %},7{% endif %} {% if is_state('binary_sensor.oeq2135510_state', 'on') %},10{% endif %} {% if is_state('binary_sensor.oeq2135809_state', 'on') %},11{% endif %} {% if is_state('binary_sensor.oeq2135867_state', 'on') %},12{% endif %} {% if is_state('binary_sensor.oeq2132808_state', 'on') %},14{% endif %} {% if is_state('binary_sensor.oeq1558420_state', 'off') and is_state('binary_sensor.oeq1556931_state', 'off') and is_state('binary_sensor.req1714363_state', 'off') and is_state('binary_sensor.oeq1556319_state', 'off') and is_state('binary_sensor.oeq1556047_state', 'off') and is_state('binary_sensor.oeq1555630_state', 'off') and is_state('binary_sensor.oeq2135809_state', 'off') and is_state('binary_sensor.oeq2135510_state', 'off') and is_state('binary_sensor.oeq2135867_state', 'off') and is_state('binary_sensor.oeq2132808_state', 'off') %},8{% endif %} {% if is_state('calendar.gelber_sack_heute', 'on') %},9{% endif %} {% if is_state('calendar.gelber_sack_morgen', 'on') %},13{% endif %}"
The configuration above worked well until I updated to the version 2021.5.5 today. The last version it worked , was more than 10 months old.
The complete error message is:
2021-05-21 14:06:11 ERROR (SyncWorker_5) [pyhomematic.devicetypes.generic] HMGeneric.setValue: SUBMIT on NEQ1468231:2 Exception: cannot marshal <class 'homeassistant.helpers.template.TupleWrapper'> objects
Do you have any ideas what I have to change?