From 248db2909551c67aff3e6f50b99f9c8c740c3fe0 Mon Sep 17 00:00:00 2001 From: Clint Johnson Date: Fri, 9 Aug 2024 07:47:46 -0400 Subject: [PATCH] fix 2024.8 payload_template deprecation --- script/inovelli_blue_led_zigbee2mqtt.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/script/inovelli_blue_led_zigbee2mqtt.yaml b/script/inovelli_blue_led_zigbee2mqtt.yaml index 09aec17..a26f13f 100644 --- a/script/inovelli_blue_led_zigbee2mqtt.yaml +++ b/script/inovelli_blue_led_zigbee2mqtt.yaml @@ -1,9 +1,9 @@ blueprint: - name: "Inovelli Blue LED (Zigbee2MQTT)" + name: 'Inovelli Blue LED (Zigbee2MQTT)' description: | Set LED effects for Inovelli Blue Series Switches using Zigbee2MQTT. - ℹ️ Version: 2024.4.0 + ℹ️ Version: 2024.8.0 To update this blueprint, read [Re-importing a blueprint](https://www.home-assistant.io/docs/automation/using_blueprints/#re-importing-a-blueprint) @@ -57,7 +57,7 @@ blueprint: ``` light.entity_name: "zigbee2mqtt/path/to/device/set" ``` - default: "" + default: '' selector: object: @@ -545,7 +545,7 @@ variables: {% endif %} sequence: - - alias: "Debug: Send notification" + - alias: 'Debug: Send notification' if: - condition: template value_template: '{{ debug == true }}' @@ -566,7 +566,7 @@ sequence: command_path_base: {{ command_path_base }} command_path_map: {{ command_path_map }} - - alias: "Check for an empty entity list" + - alias: 'Check for an empty entity list' condition: template value_template: | {{ entity_list|count > 0 }} @@ -610,7 +610,7 @@ sequence: {{ command_path_base }}/{{ device_identifier }}/set {% endif %} - - alias: "Debug: Send notification" + - alias: 'Debug: Send notification' if: - condition: template value_template: '{{ debug == true }}' @@ -626,11 +626,11 @@ sequence: topic: {{ command_path }} payload: {{ payload }} - - alias: "Send payload to the switch" + - alias: 'Send payload to the switch' service: mqtt.publish data: topic: '{{ command_path }}' - payload_template: "{{ payload }}" + payload: '{{ payload }}' icon: mdi:led-on mode: parallel