startmessagedata: "{% set message = namespace(data={}) %} {% if…
- User
start_message_data: "{% set message = namespace(data={}) %} {% if start_notify_interruption_level in ['active', 'critical', 'time-sensitive', 'passive'] %}\n {% set message.data = dict(message.data, **{ 'push': {'interruption-level': start_notify_interruption_level }}) %}\n{% endif %} {% if 'high_priority' in start_notify_data %}\n {% set message.data = dict(message.data, **{ 'ttl': 0, 'priority': 'high' }) %}\n{% endif %} {% if 'channel' in start_notify_data %}\n {% set message.data = dict(message.data, **{ 'channel': start_notify_channel }) %}\n{% endif %} {% if 'sticky' in start_notify_data %}\n {% set message.data = dict(message.data, **{ 'sticky': "true" }) %}\n{% endif %} {{ message.data }}" end_message_data: "{% set message = namespace(data={}) %} {% if end_notify_interruption_level in ['active', 'critical', 'time-sensitive', 'passive'] %}\n {% set message.data = dict(message.data, **{ 'push': {'interruption-level': end_notify_interruption_level }}) %}\n{% endif %} {% if 'high_priority' in end_notify_data %}\n {% set message.data = dict(message.data, **{ 'ttl': 0, 'priority': 'high' }) %}\n{% endif %} {% if 'channel' in end_notify_data %}\n {% set message.data = dict(message.data, **{ 'channel': end_notify_channel }) %}\n{% endif %} {% if 'sticky' in end_notify_data %}\n {% set message.data = dict(message.data, **{ 'sticky': "true" }) %}\n{% endif %} {{ message.data }}" watchdog_message_data: "{% set message = namespace(data={}) %} {% if watchdog_notify_interruption_level in ['active', 'critical', 'time-sensitive', 'passive'] %}\n {% set message.data = dict(message.data, **{ 'push': {'interruption-level': watchdog_notify_interruption_level }}) %}\n{% endif %} {% if 'high_priority' in watchdog_notify_data %}\n {% set message.data = dict(message.data, **{ 'ttl': 0, 'priority': 'high' }) %}\n{% endif %} {% if 'channel' in watchdog_notify_data %}\n {% set message.data = dict(message.data, **{ 'channel': watchdog_notify_channel }) %}\n{% endif %} {% if 'sticky' in watchdog_notify_data %}\n {% set message.data = dict(message.data, **{ 'sticky': "true" }) %}\n{% endif %} {{ message.data }}" The above code formats a yaml for a message delivery. Can you modify it, so that it outputs two more yaml options under the data heading right below sticky: true The options should be: tag: waschmaschine group: hausgerate
- Assistant