diff --git a/mcu-apollo-dev.yaml b/mcu-apollo-dev.yaml index 29185ac..a15ecdf 100644 --- a/mcu-apollo-dev.yaml +++ b/mcu-apollo-dev.yaml @@ -22,8 +22,8 @@ packages: api: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: diff --git a/mcu-basement.yaml b/mcu-basement.yaml index 7b6caa0..4bcd6fc 100644 --- a/mcu-basement.yaml +++ b/mcu-basement.yaml @@ -44,15 +44,15 @@ binary_sensor: - min_length: 50ms max_length: 350ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.mcu_basement_2_light - min_length: 351ms max_length: 1000ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.exercise_room - min_length: 1001ms @@ -62,12 +62,12 @@ binary_sensor: # service: light.turn_off # data: # entity_id: light.basement_light - - homeassistant.service: - service: light.turn_off + - homeassistant.action: + action: light.turn_off data: entity_id: light.exercise_room - - homeassistant.service: - service: light.turn_off + - homeassistant.action: + action: light.turn_off data: entity_id: light.exercise_room_fan - platform: gpio @@ -88,8 +88,8 @@ binary_sensor: filters: invert: on_press: - - homeassistant.service: - service: light.turn_on + - homeassistant.action: + action: light.turn_on data: entity_id: light.mcu_basement_2_light diff --git a/mcu-bedroom-lamp-left.yaml b/mcu-bedroom-lamp-left.yaml index dd55096..6f6feb1 100644 --- a/mcu-bedroom-lamp-left.yaml +++ b/mcu-bedroom-lamp-left.yaml @@ -114,8 +114,8 @@ script: # make use of the following service. api: reboot_timeout: 0s - services: - - service: activate_preset + actions: + - action: activate_preset variables: my_group: string my_preset: string @@ -279,8 +279,8 @@ sensor: lambda: |- return id(group_control); then: - - homeassistant.service: - service: light.turn_on + - homeassistant.action: + action: light.turn_on data: light_name: bedroom_lamp brightness: !lambda return x; diff --git a/mcu-bedroom-lamp-right.yaml b/mcu-bedroom-lamp-right.yaml index 7828809..a39851b 100644 --- a/mcu-bedroom-lamp-right.yaml +++ b/mcu-bedroom-lamp-right.yaml @@ -111,8 +111,8 @@ script: # make use of the following service. api: reboot_timeout: 0s - services: - - service: activate_preset + actions: + - action: activate_preset variables: my_group: string my_preset: string diff --git a/mcu-clock-1.yaml b/mcu-clock-1.yaml index a2ec66f..04e933d 100644 --- a/mcu-clock-1.yaml +++ b/mcu-clock-1.yaml @@ -41,8 +41,8 @@ packages: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h api: - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: diff --git a/mcu-clock-living-room.yaml b/mcu-clock-living-room.yaml index 6dfa0ba..6c86893 100644 --- a/mcu-clock-living-room.yaml +++ b/mcu-clock-living-room.yaml @@ -30,8 +30,8 @@ packages: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h api: - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: diff --git a/mcu-echo.yaml b/mcu-echo.yaml index efa38b5..b9af273 100644 --- a/mcu-echo.yaml +++ b/mcu-echo.yaml @@ -22,9 +22,9 @@ packages: common: !include common/common.yaml api: - services: + actions: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - - service: play_rtttl + - action: play_rtttl variables: song: string then: diff --git a/mcu-nspanel-bedroom.yaml b/mcu-nspanel-bedroom.yaml index 6245a1c..f659fa3 100644 --- a/mcu-nspanel-bedroom.yaml +++ b/mcu-nspanel-bedroom.yaml @@ -42,15 +42,15 @@ packages: api: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -62,12 +62,12 @@ api: - delay: 10s - lambda: 'id(nspanel_id).send_custom_command("notify~~");' - - service: update_tft + - action: update_tft then: - lambda: |- id(nspanel_id).upload_tft("${tft_url}"); - - service: upload_tft + - action: upload_tft variables: url: string then: @@ -75,14 +75,14 @@ api: id(nspanel_id).upload_tft(url); # Service to send a command directly to the display. Useful for testing - - service: send_command + - action: send_command variables: cmd: string then: - lambda: "id(nspanel_id).send_custom_command(cmd.c_str());" # Service to pusblish to mqtt used for refreshin the panel - - service: publish_to_recv_topic + - action: publish_to_recv_topic variables: cmd: string then: @@ -91,18 +91,18 @@ api: payload: !lambda "return cmd;" # Service to send a command wake the screen - - service: wake + - action: wake then: - lambda: 'id(nspanel_id).send_custom_command("wake");' # Service to send a command to show screensaver (some of the values are hardcoded) - - service: show_screensaver + - action: show_screensaver then: - mqtt.publish: topic: $panel_recv_topic payload: '{"CustomRecv":"event,sleepReached,cardGrid"}' # Service to navigate to screen - - service: navigate_to_page + - action: navigate_to_page variables: page: string then: @@ -112,24 +112,24 @@ api: root["CustomRecv"] = "event,buttonPress2,navigate." + page + ",button"; # Service to send a command disable screensaver - - service: disable_screensaver + - action: disable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~0");' # Service to send a command enabled screensaver - - service: enable_screensaver + - action: enable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~20");' # Service to send a command wake the screen - - service: dim_0_to_100 + - action: dim_0_to_100 variables: intensity: string then: - lambda: 'id(nspanel_id).send_custom_command("dimmode~"+intensity+"~100");' # Service to send a command To show the screen of a specific like - - service: show_entity + - action: show_entity variables: entity: string title: string @@ -137,7 +137,7 @@ api: - lambda: 'id(nspanel_id).send_custom_command("pageType~popupLight~" + title + "~" + entity);' # Service to send a command To show the screen of a specific like - - service: notify_on_screensaver + - action: notify_on_screensaver variables: line1: string line2: string @@ -147,7 +147,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string @@ -208,8 +208,8 @@ binary_sensor: # on_click: # - switch.toggle: relay_2 on_click: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.bedroom_lamps - mqtt.publish_json: diff --git a/mcu-nspanel-dev.yaml b/mcu-nspanel-dev.yaml index 8d07c88..5d45df0 100644 --- a/mcu-nspanel-dev.yaml +++ b/mcu-nspanel-dev.yaml @@ -68,16 +68,16 @@ packages: api: homeassistant_services: true homeassistant_states: true - services: + actions: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - - service: play_rtttl + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -177,7 +177,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string diff --git a/mcu-nspanel-fireplace.yaml b/mcu-nspanel-fireplace.yaml index 58f2e92..61454d1 100644 --- a/mcu-nspanel-fireplace.yaml +++ b/mcu-nspanel-fireplace.yaml @@ -40,15 +40,15 @@ packages: api: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -60,12 +60,12 @@ api: - delay: 10s - lambda: 'id(nspanel_id).send_custom_command("notify~~");' - - service: update_tft + - action: update_tft then: - lambda: |- id(nspanel_id).upload_tft("${tft_url}"); - - service: upload_tft + - action: upload_tft variables: url: string then: @@ -73,14 +73,14 @@ api: id(nspanel_id).upload_tft(url); # Service to send a command directly to the display. Useful for testing - - service: send_command + - action: send_command variables: cmd: string then: - lambda: "id(nspanel_id).send_custom_command(cmd.c_str());" # Service to pusblish to mqtt used for refreshin the panel - - service: publish_to_recv_topic + - action: publish_to_recv_topic variables: cmd: string then: @@ -89,18 +89,18 @@ api: payload: !lambda "return cmd;" # Service to send a command wake the screen - - service: wake + - action: wake then: - lambda: 'id(nspanel_id).send_custom_command("wake");' # Service to send a command to show screensaver (some of the values are hardcoded) - - service: show_screensaver + - action: show_screensaver then: - mqtt.publish: topic: $panel_recv_topic payload: '{"CustomRecv":"event,sleepReached,cardGrid"}' # Service to navigate to screen - - service: navigate_to_page + - action: navigate_to_page variables: page: string then: @@ -110,24 +110,24 @@ api: root["CustomRecv"] = "event,buttonPress2,navigate." + page + ",button"; # Service to send a command disable screensaver - - service: disable_screensaver + - action: disable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~0");' # Service to send a command enabled screensaver - - service: enable_screensaver + - action: enable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~20");' # Service to send a command wake the screen - - service: dim_0_to_100 + - action: dim_0_to_100 variables: intensity: string then: - lambda: 'id(nspanel_id).send_custom_command("dimmode~"+intensity+"~100");' # Service to send a command To show the screen of a specific like - - service: show_entity + - action: show_entity variables: entity: string title: string @@ -135,7 +135,7 @@ api: - lambda: 'id(nspanel_id).send_custom_command("pageType~popupLight~" + title + "~" + entity);' # Service to send a command To show the screen of a specific like - - service: notify_on_screensaver + - action: notify_on_screensaver variables: line1: string line2: string @@ -145,7 +145,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string @@ -196,8 +196,8 @@ binary_sensor: - min_length: 50ms max_length: 350ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.living_room - mqtt.publish_json: @@ -207,8 +207,8 @@ binary_sensor: - min_length: 500ms max_length: 2000ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.worktop_lights - mqtt.publish_json: @@ -226,8 +226,8 @@ binary_sensor: - min_length: 50ms max_length: 350ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.dining_table - mqtt.publish_json: @@ -237,8 +237,8 @@ binary_sensor: - min_length: 500ms max_length: 2000ms then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.mcu_kitchen_stove - mqtt.publish_json: diff --git a/mcu-nspanel-office-j.yaml b/mcu-nspanel-office-j.yaml index 5529904..4320676 100644 --- a/mcu-nspanel-office-j.yaml +++ b/mcu-nspanel-office-j.yaml @@ -46,15 +46,15 @@ api: # help:d=4,o=6,b=100:f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f # gate_opening:d=16,o=5,b=160:a, 8p, a # fireplace_attention:d=16,o=5,b=160:a, 8p, g, 16p, c - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -66,12 +66,12 @@ api: - delay: 10s - lambda: 'id(nspanel_id).send_custom_command("notify~~");' - - service: update_tft + - action: update_tft then: - lambda: |- id(nspanel_id).upload_tft("${tft_url}"); - - service: upload_tft + - action: upload_tft variables: url: string then: @@ -79,14 +79,14 @@ api: id(nspanel_id).upload_tft(url); # Service to send a command directly to the display. Useful for testing - - service: send_command + - action: send_command variables: cmd: string then: - lambda: "id(nspanel_id).send_custom_command(cmd.c_str());" # Service to pusblish to mqtt used for refreshin the panel - - service: publish_to_recv_topic + - action: publish_to_recv_topic variables: cmd: string then: @@ -95,18 +95,18 @@ api: payload: !lambda "return cmd;" # Service to send a command wake the screen - - service: wake + - action: wake then: - lambda: 'id(nspanel_id).send_custom_command("wake");' # Service to send a command to show screensaver (some of the values are hardcoded) - - service: show_screensaver + - action: show_screensaver then: - mqtt.publish: topic: $panel_recv_topic payload: '{"CustomRecv":"event,sleepReached,cardGrid"}' # Service to navigate to screen - - service: navigate_to_page + - action: navigate_to_page variables: page: string then: @@ -116,24 +116,24 @@ api: root["CustomRecv"] = "event,buttonPress2,navigate." + page + ",button"; # Service to send a command disable screensaver - - service: disable_screensaver + - action: disable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~0");' # Service to send a command enabled screensaver - - service: enable_screensaver + - action: enable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~20");' # Service to send a command wake the screen - - service: dim_0_to_100 + - action: dim_0_to_100 variables: intensity: string then: - lambda: 'id(nspanel_id).send_custom_command("dimmode~"+intensity+"~100");' # Service to send a command To show the screen of a specific like - - service: show_entity + - action: show_entity variables: entity: string title: string @@ -141,7 +141,7 @@ api: - lambda: 'id(nspanel_id).send_custom_command("pageType~popupLight~" + title + "~" + entity);' # Service to send a command To show the screen of a specific like - - service: notify_on_screensaver + - action: notify_on_screensaver variables: line1: string line2: string @@ -151,7 +151,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string @@ -230,8 +230,8 @@ binary_sensor: number: 27 inverted: true on_click: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.bedside_left - mqtt.publish_json: diff --git a/mcu-nspanel-office-r.yaml b/mcu-nspanel-office-r.yaml index bd8b305..040fc04 100644 --- a/mcu-nspanel-office-r.yaml +++ b/mcu-nspanel-office-r.yaml @@ -64,15 +64,15 @@ api: # help:d=4,o=6,b=100:f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f,8p,f # gate_opening:d=16,o=5,b=160:a, 8p, a # fireplace_attention:d=16,o=5,b=160:a, 8p, g, 16p, c - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -84,13 +84,13 @@ api: - delay: 10s - lambda: 'id(nspanel_id).send_custom_command("notify~~");' - - service: update_tft + - action: update_tft then: - logger.log: "tft updating from: ${tft_url}" - lambda: |- id(nspanel_id).upload_tft("${tft_url}"); - - service: upload_tft + - action: upload_tft variables: url: string then: @@ -98,14 +98,14 @@ api: id(nspanel_id).upload_tft(url); # Service to send a command directly to the display. Useful for testing - - service: send_command + - action: send_command variables: cmd: string then: - lambda: "id(nspanel_id).send_custom_command(cmd.c_str());" # Service to pusblish to mqtt used for refreshin the panel - - service: publish_to_recv_topic + - action: publish_to_recv_topic variables: cmd: string then: @@ -114,18 +114,18 @@ api: payload: !lambda "return cmd;" # Service to send a command wake the screen - - service: wake + - action: wake then: - lambda: 'id(nspanel_id).send_custom_command("wake");' # Service to send a command to show screensaver (some of the values are hardcoded) - - service: show_screensaver + - action: show_screensaver then: - mqtt.publish: topic: $panel_recv_topic payload: '{"CustomRecv":"event,sleepReached,cardGrid"}' # Service to navigate to screen - - service: navigate_to_page + - action: navigate_to_page variables: page: string then: @@ -135,24 +135,24 @@ api: root["CustomRecv"] = "event,buttonPress2,navigate." + page + ",button"; # Service to send a command disable screensaver - - service: disable_screensaver + - action: disable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~0");' # Service to send a command enabled screensaver - - service: enable_screensaver + - action: enable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~20");' # Service to send a command wake the screen - - service: dim_0_to_100 + - action: dim_0_to_100 variables: intensity: string then: - lambda: 'id(nspanel_id).send_custom_command("dimmode~"+intensity+"~100");' # Service to send a command To show the screen of a specific like - - service: show_entity + - action: show_entity variables: entity: string title: string @@ -160,7 +160,7 @@ api: - lambda: 'id(nspanel_id).send_custom_command("pageType~popupLight~" + title + "~" + entity);' # Service to send a command To show the screen of a specific like - - service: notify_on_screensaver + - action: notify_on_screensaver variables: line1: string line2: string @@ -170,7 +170,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string @@ -237,8 +237,8 @@ binary_sensor: number: 14 inverted: true on_click: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.office_r_desk_strip - mqtt.publish_json: diff --git a/mcu-nspanel-patio.yaml b/mcu-nspanel-patio.yaml index 508ad56..990b04f 100644 --- a/mcu-nspanel-patio.yaml +++ b/mcu-nspanel-patio.yaml @@ -40,15 +40,15 @@ packages: api: # https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h - services: - - service: play_rtttl + actions: + - action: play_rtttl variables: song: string then: - rtttl.play: rtttl: !lambda 'return song;' - - service: notify + - action: notify variables: heading: string message: string @@ -60,12 +60,12 @@ api: - delay: 10s - lambda: 'id(nspanel_id).send_custom_command("notify~~");' - - service: update_tft + - action: update_tft then: - lambda: |- id(nspanel_id).upload_tft("${tft_url}"); - - service: upload_tft + - action: upload_tft variables: url: string then: @@ -73,14 +73,14 @@ api: id(nspanel_id).upload_tft(url); # Service to send a command directly to the display. Useful for testing - - service: send_command + - action: send_command variables: cmd: string then: - lambda: "id(nspanel_id).send_custom_command(cmd.c_str());" # Service to pusblish to mqtt used for refreshin the panel - - service: publish_to_recv_topic + - action: publish_to_recv_topic variables: cmd: string then: @@ -89,18 +89,18 @@ api: payload: !lambda "return cmd;" # Service to send a command wake the screen - - service: wake + - action: wake then: - lambda: 'id(nspanel_id).send_custom_command("wake");' # Service to send a command to show screensaver (some of the values are hardcoded) - - service: show_screensaver + - action: show_screensaver then: - mqtt.publish: topic: $panel_recv_topic payload: '{"CustomRecv":"event,sleepReached,cardGrid"}' # Service to navigate to screen - - service: navigate_to_page + - action: navigate_to_page variables: page: string then: @@ -110,24 +110,24 @@ api: root["CustomRecv"] = "event,buttonPress2,navigate." + page + ",button"; # Service to send a command disable screensaver - - service: disable_screensaver + - action: disable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~0");' # Service to send a command enabled screensaver - - service: enable_screensaver + - action: enable_screensaver then: - lambda: 'id(nspanel_id).send_custom_command("timeout~20");' # Service to send a command wake the screen - - service: dim_0_to_100 + - action: dim_0_to_100 variables: intensity: string then: - lambda: 'id(nspanel_id).send_custom_command("dimmode~"+intensity+"~100");' # Service to send a command To show the screen of a specific like - - service: show_entity + - action: show_entity variables: entity: string title: string @@ -135,7 +135,7 @@ api: - lambda: 'id(nspanel_id).send_custom_command("pageType~popupLight~" + title + "~" + entity);' # Service to send a command To show the screen of a specific like - - service: notify_on_screensaver + - action: notify_on_screensaver variables: line1: string line2: string @@ -145,7 +145,7 @@ api: # Service to send a command To show the screen of a specific like # interaction of the buttons are on implemented yet - - service: notify_fullscreen + - action: notify_fullscreen variables: title: string description: string @@ -208,8 +208,8 @@ binary_sensor: condition: api.connected: then: - - homeassistant.service: - service: light.toggle + - homeassistant.action: + action: light.toggle data: entity_id: light.patio_lights - mqtt.publish_json: diff --git a/mcu-rfid-reader.yaml b/mcu-rfid-reader.yaml index 1ddb7fa..af2bc15 100644 --- a/mcu-rfid-reader.yaml +++ b/mcu-rfid-reader.yaml @@ -54,22 +54,22 @@ packages: # GPIO21 RGB api: - services: - - service: rfidreader_tag_ok + actions: + - action: rfidreader_tag_ok then: - rtttl.play: "beep:d=16,o=5,b=100:b" - - service: rfidreader_tag_ko + - action: rfidreader_tag_ko then: - rtttl.play: "beep:d=8,o=5,b=100:b" - - service: play_rtttl + - action: play_rtttl variables: song_str: string then: - rtttl.play: !lambda 'return song_str;' - - service: write_tag_id + - action: write_tag_id variables: tag_id: string then: @@ -93,7 +93,7 @@ api: id: notify_led - rtttl.play: "write:d=24,o=5,b=100:b,b" - - service: write_music_tag + - action: write_music_tag variables: music_url: string music_info: string @@ -348,7 +348,7 @@ button: light: - platform: esp32_rmt_led_strip id: notify_led - rgb_order: GRB + channel_colors: GRB pin: 3 num_leds: 1 chipset: ws2812 @@ -356,7 +356,7 @@ light: rmt_symbols: 96 - platform: esp32_rmt_led_strip id: status_led - rgb_order: GRB + channel_colors: GRB pin: 21 num_leds: 1 chipset: ws2812 diff --git a/mcu-socket-03.yaml b/mcu-socket-03.yaml index 11326de..0cd51ea 100644 --- a/mcu-socket-03.yaml +++ b/mcu-socket-03.yaml @@ -106,8 +106,8 @@ sensor: then: - light.turn_off: light_red - switch.turn_off: relay - - homeassistant.service: - service: persistent_notification.create + - homeassistant.action: + action: persistent_notification.create data: title: Message from ${name} data_template: