Update some service calls to use target (#16575)

This commit is contained in:
Franck Nijhof 2021-02-15 12:32:12 +01:00 committed by GitHub
parent cabcd91686
commit a1d0b36e81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
75 changed files with 362 additions and 186 deletions

View File

@ -33,6 +33,7 @@ automation:
devname: living_room_switch devname: living_room_switch
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.hue_color_lamp_3 entity_id: light.hue_color_lamp_3
- alias: "Turn off living room light" - alias: "Turn off living room light"
@ -44,5 +45,6 @@ automation:
devname: living_room_switch devname: living_room_switch
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.hue_color_lamp_3 entity_id: light.hue_color_lamp_3
``` ```

View File

@ -29,6 +29,7 @@ automation:
at: "05:00:00" at: "05:00:00"
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: input_boolean.trigger_first_morning entity_id: input_boolean.trigger_first_morning
# turns it off an hour after sunrise # turns it off an hour after sunrise
@ -39,6 +40,7 @@ automation:
offset: "01:00:00" offset: "01:00:00"
action: action:
service: homeassistant.turn_off service: homeassistant.turn_off
target:
entity_id: input_boolean.trigger_first_morning entity_id: input_boolean.trigger_first_morning
@ -60,6 +62,7 @@ automation:
# turn off the "waiting" boolean regardless of whether lights will turn on # turn off the "waiting" boolean regardless of whether lights will turn on
# so that this happens only once # so that this happens only once
- service: homeassistant.turn_off - service: homeassistant.turn_off
target:
entity_id: input_boolean.trigger_first_morning entity_id: input_boolean.trigger_first_morning
# But only turn on lights if the living room and kitchen lights are off or dimmed # But only turn on lights if the living room and kitchen lights are off or dimmed
@ -84,6 +87,7 @@ automation:
# Trigger a scene # Trigger a scene
# You could add as many services or scenes as you'd like # You could add as many services or scenes as you'd like
- service: scene.turn_on - service: scene.turn_on
target:
entity_id: scene.morning_first_motion entity_id: scene.morning_first_motion
``` ```

View File

@ -29,6 +29,7 @@ automation:
# start alarm on movement if alarm activated # start alarm on movement if alarm activated
# and the alarm is not triggered # and the alarm is not triggered
service: script.turn_on service: script.turn_on
target:
entity_id: script.alarm_room1 entity_id: script.alarm_room1
- alias: "flash_room1_start" - alias: "flash_room1_start"
@ -38,6 +39,7 @@ automation:
to: "on" to: "on"
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.flash_room1 entity_id: script.flash_room1
- alias: "flash_room1_stop" - alias: "flash_room1_stop"
@ -51,6 +53,7 @@ automation:
state: "off" state: "off"
action: action:
service: script.turn_off service: script.turn_off
target:
entity_id: script.flash_room1 entity_id: script.flash_room1
script: script:

View File

@ -24,6 +24,7 @@ automation:
before: "23:00" before: "23:00"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.couch_lamp entity_id: light.couch_lamp
``` ```
@ -41,6 +42,7 @@ And then of course turn off the lamp when it stops raining but only if it's with
after_offset: "-01:00:00" after_offset: "-01:00:00"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.couch_lamp entity_id: light.couch_lamp
``` ```

View File

@ -18,6 +18,7 @@ automation:
state: home state: home
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: group.living_room_lights entity_id: group.living_room_lights
``` ```
@ -32,6 +33,7 @@ automation:
at: "07:15:00" at: "07:15:00"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.bedroom entity_id: light.bedroom
data: data:
# 900 seconds = 15 minutes # 900 seconds = 15 minutes
@ -79,6 +81,7 @@ Solar elevation automations can cope with offsets from sunset / sunrise as the s
below: 3.5 below: 3.5
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.background_lights entity_id: scene.background_lights
- alias: "Turn more lights on as the sun gets dimmer" - alias: "Turn more lights on as the sun gets dimmer"
@ -89,6 +92,7 @@ Solar elevation automations can cope with offsets from sunset / sunrise as the s
below: 1.5 below: 1.5
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.more_lights entity_id: scene.more_lights
- alias: "Close blind at dusk" - alias: "Close blind at dusk"
@ -99,6 +103,7 @@ Solar elevation automations can cope with offsets from sunset / sunrise as the s
below: -2.5 below: -2.5
action: action:
service: switch.turn_off service: switch.turn_off
target:
entity_id: switch.blind entity_id: switch.blind
``` ```

View File

@ -27,6 +27,7 @@ automation:
state: "on" state: "on"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.woonkamer_livingcolors entity_id: light.woonkamer_livingcolors
data: data:
effect: random effect: random

View File

@ -23,6 +23,7 @@ automation:
entity_id: zwave.YOUR_REMOTE entity_id: zwave.YOUR_REMOTE
action: action:
- service: script.turn_on - service: script.turn_on
target:
entity_id: script.ramp_light entity_id: script.ramp_light
data: data:
variables: variables:
@ -39,6 +40,7 @@ automation:
entity_id: zwave.YOUR_REMOTE entity_id: zwave.YOUR_REMOTE
action: action:
- service: script.turn_on - service: script.turn_on
target:
entity_id: script.ramp_light entity_id: script.ramp_light
data: data:
variables: variables:
@ -60,6 +62,7 @@ automation:
entity_id: zwave.YOUR_REMOTE entity_id: zwave.YOUR_REMOTE
action: action:
- service: script.turn_off - service: script.turn_off
target:
entity_id: script.ramp_light entity_id: script.ramp_light
``` ```

View File

@ -53,6 +53,7 @@ automation:
state: "below_horizon" state: "below_horizon"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.livingroom_normal entity_id: scene.livingroom_normal
- alias: "Media player playing" - alias: "Media player playing"
@ -67,6 +68,7 @@ automation:
state: "below_horizon" state: "below_horizon"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.livingroom_dim entity_id: scene.livingroom_dim
``` ```

View File

@ -73,6 +73,7 @@ automation:
state: "off" state: "off"
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: script.restarthawemo entity_id: script.restarthawemo
- alias: "Stop HA" - alias: "Stop HA"
trigger: trigger:
@ -91,6 +92,7 @@ automation:
state: "on" state: "on"
action: action:
service: homeassistant.turn_off service: homeassistant.turn_off
target:
entity_id: script.restarthawemo entity_id: script.restarthawemo
``` ```

View File

@ -17,6 +17,7 @@ automation:
to: "on" to: "on"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.kitchen_light entity_id: light.kitchen_light
- alias: "Turn off kitchen light 10 minutes after last movement" - alias: "Turn off kitchen light 10 minutes after last movement"
@ -28,6 +29,7 @@ automation:
minutes: 10 minutes: 10
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.kitchen_light entity_id: light.kitchen_light
``` ```
@ -82,6 +84,7 @@ You can also restrict lights from turning on based on time of day and implement
before: "23:30" before: "23:30"
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: group.office_lights entity_id: group.office_lights
data: data:
transition: 15 transition: 15
@ -96,6 +99,7 @@ You can also restrict lights from turning on based on time of day and implement
minutes: 15 minutes: 15
action: action:
- service: homeassistant.turn_off - service: homeassistant.turn_off
target:
entity_id: group.office_lights entity_id: group.office_lights
data: data:
transition: 160 transition: 160

View File

@ -281,6 +281,7 @@ automation:
seconds: "{{ states('input_number.lock_sec')|int }}" seconds: "{{ states('input_number.lock_sec')|int }}"
action: action:
service: lock.lock service: lock.lock
target:
entity_id: lock.my_place entity_id: lock.my_place
``` ```
@ -337,6 +338,7 @@ automation:
below: -4.0 below: -4.0
action: action:
service: switch.turn_on service: switch.turn_on
target:
entity_id: switch.exterior_lighting entity_id: switch.exterior_lighting
``` ```
@ -466,8 +468,10 @@ automation:
to: "on" to: "on"
action: action:
- service: climate.turn_on - service: climate.turn_on
target:
entity_id: climate.office entity_id: climate.office
- service: input_datetime.set_datetime - service: input_datetime.set_datetime
target:
entity_id: input_datetime.turn_off_ac entity_id: input_datetime.turn_off_ac
data: data:
datetime: > datetime: >
@ -479,6 +483,7 @@ automation:
at: input_datetime.turn_off_ac at: input_datetime.turn_off_ac
action: action:
service: climate.turn_off service: climate.turn_off
target:
entity_id: climate.office entity_id: climate.office
``` ```
@ -495,6 +500,7 @@ automation:
at: sensor.phone_next_alarm at: sensor.phone_next_alarm
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.bedroom entity_id: light.bedroom
``` ```

View File

@ -238,6 +238,7 @@ automation:
to: "home" to: "home"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.entryway entity_id: light.entryway
- alias: "Automation 2" - alias: "Automation 2"
trigger: trigger:
@ -246,6 +247,7 @@ automation:
from: "home" from: "home"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.entryway entity_id: light.entryway
``` ```
@ -267,6 +269,7 @@ trigger:
to: "home" to: "home"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.entryway entity_id: light.entryway
``` ```
@ -280,6 +283,7 @@ trigger:
from: "home" from: "home"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.entryway entity_id: light.entryway
``` ```
@ -377,6 +381,7 @@ automation:
to: "home" to: "home"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.entryway entity_id: light.entryway
- alias: "Automation 2" - alias: "Automation 2"
trigger: trigger:
@ -385,6 +390,7 @@ automation:
from: "home" from: "home"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.entryway entity_id: light.entryway
``` ```
@ -406,6 +412,7 @@ automation: !include_dir_merge_list automation/
to: "home" to: "home"
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.entryway entity_id: light.entryway
- alias: "Automation 2" - alias: "Automation 2"
trigger: trigger:
@ -414,6 +421,7 @@ automation: !include_dir_merge_list automation/
from: "home" from: "home"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.entryway entity_id: light.entryway
``` ```

View File

@ -55,6 +55,7 @@ automation:
to: "home" to: "home"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.romantic entity_id: scene.romantic
``` ```

View File

@ -234,6 +234,7 @@ This can be used to take different actions based on whether or not the condition
- service: script.door_did_not_open - service: script.door_did_not_open
default: default:
- service: script.turn_on - service: script.turn_on
target:
entity_id: entity_id:
- script.door_did_open - script.door_did_open
- script.play_fanfare - script.play_fanfare
@ -243,6 +244,7 @@ This can be used to take different actions based on whether or not the condition
timeout: 10 timeout: 10
continue_on_timeout: false continue_on_timeout: false
- service: switch.turn_on - service: switch.turn_on
target:
entity_id: switch.some_light entity_id: switch.some_light
- wait_for_trigger: - wait_for_trigger:
- platform: state - platform: state
@ -252,6 +254,7 @@ This can be used to take different actions based on whether or not the condition
timeout: "{{ wait.remaining }}" timeout: "{{ wait.remaining }}"
continue_on_timeout: false continue_on_timeout: false
- service: switch.turn_off - service: switch.turn_off
target:
entity_id: switch.some_light entity_id: switch.some_light
``` ```
{% endraw %} {% endraw %}
@ -486,6 +489,7 @@ automation:
data: data:
duration: 60 duration: 60
- service: light.turn_on - service: light.turn_on
target:
entity_id: all entity_id: all
``` ```
@ -504,12 +508,14 @@ automation:
value_template: "{{ trigger.to_state.state == 'on' }}" value_template: "{{ trigger.to_state.state == 'on' }}"
sequence: sequence:
- service: script.turn_on - service: script.turn_on
target:
entity_id: entity_id:
- script.slowly_turn_on_front_lights - script.slowly_turn_on_front_lights
- script.announce_someone_at_door - script.announce_someone_at_door
# ELSE (i.e., motion stopped) # ELSE (i.e., motion stopped)
default: default:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.front_lights entity_id: light.front_lights
``` ```
@ -535,15 +541,18 @@ automation:
value_template: "{{ now().hour < 18 }}" value_template: "{{ now().hour < 18 }}"
sequence: sequence:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.living_room entity_id: light.living_room
- service: script.sim_day - service: script.sim_day
# ELSE night # ELSE night
default: default:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.kitchen entity_id: light.kitchen
- delay: - delay:
minutes: "{{ range(1, 11)|random }}" minutes: "{{ range(1, 11)|random }}"
- service: light.turn_off - service: light.turn_off
target:
entity_id: all entity_id: all
``` ```
@ -573,6 +582,7 @@ automation:
is_state('binary_sensor.all_clear', 'off') }} is_state('binary_sensor.all_clear', 'off') }}
sequence: sequence:
- service: script.turn_on - service: script.turn_on
target:
entity_id: script.flash_lights entity_id: script.flash_lights
- service: script.arrive_home - service: script.arrive_home
data: data:

View File

@ -1165,6 +1165,7 @@ Let's see how this works in an automation for a Scene Master that's assigned as
action: action:
- data: - data:
service: light.toggle service: light.toggle
target:
entity_id: group.all_lights entity_id: group.all_lights
``` ```
@ -1402,6 +1403,7 @@ Example Event:
scene_data: 7680 scene_data: 7680
action: action:
- service: switch.toggle - service: switch.toggle
target:
entity_id: switch.office_fan entity_id: switch.office_fan
``` ```
@ -1604,6 +1606,7 @@ Example Event:
scene_data: 0 scene_data: 0
action: action:
- service: switch.toggle - service: switch.toggle
target:
entity_id: switch.office_fan entity_id: switch.office_fan
``` ```

View File

@ -299,6 +299,7 @@ intent_script:
amzn1.ask.skill.08888888-7777-6666-5555-444444444444: amzn1.ask.skill.08888888-7777-6666-5555-444444444444:
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.red_alert entity_id: script.red_alert
speech: speech:
type: plain type: plain

View File

@ -64,6 +64,7 @@ The Arlo integration also provides a camera service to enable/disable the motion
event: start event: start
action: action:
service: camera.enable_motion_detection service: camera.enable_motion_detection
target:
entity_id: camera.arlo_frontdoor entity_id: camera.arlo_frontdoor
``` ```
@ -112,6 +113,7 @@ Arming the Arlo Base Station when leaving.
to: not_home to: not_home
action: action:
service: alarm_control_panel.alarm_arm_away service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.my_arlo_base_station entity_id: alarm_control_panel.my_arlo_base_station
``` ```
@ -127,6 +129,7 @@ Setting Arlo to a custom mode (mapped to `home_mode_name` in `configuration.yaml
to: home to: home
action: action:
service: alarm_control_panel.alarm_arm_home service: alarm_control_panel.alarm_arm_home
target:
entity_id: alarm_control_panel.my_arlo_base_station entity_id: alarm_control_panel.my_arlo_base_station
``` ```

View File

@ -50,6 +50,7 @@ The requirement is that you have setup the [`xiaomi aqara` integration](/integra
below: 300 below: 300
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_34ce00xxxx11 entity_id: light.gateway_light_34ce00xxxx11
data: data:
brightness: 5 brightness: 5
@ -66,6 +67,7 @@ The requirement is that you have setup the [`xiaomi aqara` integration](/integra
minutes: 5 minutes: 5
action: action:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.gateway_light_34ce00xxxx11 entity_id: light.gateway_light_34ce00xxxx11
- service: automation.turn_off - service: automation.turn_off
data: data:
@ -83,6 +85,7 @@ The requirement is that you have setup the [`xiaomi aqara` integration](/integra
to: "on" to: "on"
action: action:
service: climate.set_operation_mode service: climate.set_operation_mode
target:
entity_id: climate.livingroom entity_id: climate.livingroom
data: data:
operation_mode: "Off" operation_mode: "Off"
@ -96,6 +99,7 @@ The requirement is that you have setup the [`xiaomi aqara` integration](/integra
minutes: 5 minutes: 5
action: action:
service: climate.set_operation_mode service: climate.set_operation_mode
target:
entity_id: climate.livingroom entity_id: climate.livingroom
data: data:
operation_mode: "Smart schedule" operation_mode: "Smart schedule"
@ -170,6 +174,7 @@ As indicated in the table on top of this page there are 3 versions of the button
click_type: single click_type: single
action: action:
service: switch.toggle service: switch.toggle
target:
entity_id: switch.wall_switch_left_158d000xxxxx01 entity_id: switch.wall_switch_left_158d000xxxxx01
- alias: "Toggle couch light on double click" - alias: "Toggle couch light on double click"
trigger: trigger:
@ -180,6 +185,7 @@ As indicated in the table on top of this page there are 3 versions of the button
click_type: double click_type: double
action: action:
service: switch.toggle service: switch.toggle
target:
entity_id: switch.wall_switch_right_158d000xxxxx01 entity_id: switch.wall_switch_right_158d000xxxxx01
- alias: "Let a dog bark on long press" - alias: "Let a dog bark on long press"
trigger: trigger:
@ -210,6 +216,7 @@ Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swi
action_type: flip90 action_type: flip90
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_28xxxxxxxxxx entity_id: light.gateway_light_28xxxxxxxxxx
data: data:
color_name: "springgreen" color_name: "springgreen"
@ -222,6 +229,7 @@ Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swi
action_type: flip180 action_type: flip180
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_28xxxxxxxxxx entity_id: light.gateway_light_28xxxxxxxxxx
data: data:
color_name: "darkviolet" color_name: "darkviolet"
@ -234,6 +242,7 @@ Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swi
action_type: move action_type: move
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_28xxxxxxxxxx entity_id: light.gateway_light_28xxxxxxxxxx
data: data:
color_name: "gold" color_name: "gold"
@ -246,6 +255,7 @@ Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swi
action_type: tap_twice action_type: tap_twice
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_28xxxxxxxxxx entity_id: light.gateway_light_28xxxxxxxxxx
data: data:
color_name: "deepskyblue" color_name: "deepskyblue"
@ -258,6 +268,7 @@ Available events are `flip90`, `flip180`, `move`, `tap_twice`, `shake_air`, `swi
action_type: shake_air action_type: shake_air
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.gateway_light_28xxxxxxxxxx entity_id: light.gateway_light_28xxxxxxxxxx
data: data:
color_name: "blue" color_name: "blue"
@ -279,6 +290,7 @@ The Aqara Wireless Switch is available as single-key and double-key version. Eac
click_type: single click_type: single
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.gateway_light_34xxxxxxxx13 entity_id: light.gateway_light_34xxxxxxxx13
data: data:
brightness: >- brightness: >-
@ -301,6 +313,7 @@ The Aqara Wireless Switch is available as single-key and double-key version. Eac
click_type: single click_type: single
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.gateway_light_34xxxxxxxx13 entity_id: light.gateway_light_34xxxxxxxx13
data: data:
brightness: >- brightness: >-
@ -323,6 +336,7 @@ The Aqara Wireless Switch is available as single-key and double-key version. Eac
click_type: both click_type: both
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.gateway_light_34xxxxxxxx13 entity_id: light.gateway_light_34xxxxxxxx13
``` ```

View File

@ -129,6 +129,7 @@ Here, this example assumes your blink module is named `My Sync Module` and that
to: "not_home" to: "not_home"
action: action:
service: alarm_control_panel.alarm_arm_away service: alarm_control_panel.alarm_arm_away
target:
entity_id: alarm_control_panel.blink_my_sync_module entity_id: alarm_control_panel.blink_my_sync_module
``` ```
@ -145,6 +146,7 @@ Similar to the previous example, this automation will disarm blink when arriving
to: "home" to: "home"
action: action:
service: alarm_control_panel.alarm_disarm service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.blink_my_sync_module entity_id: alarm_control_panel.blink_my_sync_module
``` ```

View File

@ -169,6 +169,7 @@ calendar:
at: "06:40:00" at: "06:40:00"
action: action:
- service: media_player.media_play - service: media_player.media_play
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
condition: condition:
- condition: state - condition: state

View File

@ -205,6 +205,7 @@ automation:
event: 1002 event: 1002
action: action:
service: light.toggle service: light.toggle
target:
entity_id: light.lamp entity_id: light.lamp
- alias: "Increase brightness of lamp from dimmer" - alias: "Increase brightness of lamp from dimmer"
@ -249,6 +250,7 @@ automation:
gesture: 7 gesture: 7
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.lamp entity_id: light.lamp
``` ```

View File

@ -216,5 +216,6 @@ image_processing:
- binary_sensor.driveway - binary_sensor.driveway
action: action:
- service: image_processing.scan - service: image_processing.scan
target:
entity_id: image_processing.doods_camera_driveway entity_id: image_processing.doods_camera_driveway
``` ```

View File

@ -179,6 +179,7 @@ Note: Remember to complete the schedule assignment steps above for each event ty
event_type: doorbird_driveway_gate_somebody_pressed_the_button event_type: doorbird_driveway_gate_somebody_pressed_the_button
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.side_entry_porch entity_id: light.side_entry_porch
``` ```

View File

@ -119,6 +119,7 @@ The following is an example implementation of an automation:
key: Fwd key: Fwd
action: action:
- service: media_player.volume_up - service: media_player.volume_up
target:
entity_id: media_player.amplifier entity_id: media_player.amplifier
``` ```

View File

@ -62,6 +62,7 @@ automation:
event_type: feedreader event_type: feedreader
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.my_action entity_id: script.my_action
``` ```

View File

@ -126,6 +126,7 @@ automation:
entity_id: sensor.incidents entity_id: sensor.incidents
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.bedroom entity_id: light.bedroom
- alias: "Play TTS incident details when incident is received" - alias: "Play TTS incident details when incident is received"
@ -154,6 +155,7 @@ automation:
entity_id: switch.response_button entity_id: switch.response_button
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: switch.incident_response entity_id: switch.incident_response
- alias: "Cast FireServiceRota dashboard to Nest Hub" - alias: "Cast FireServiceRota dashboard to Nest Hub"

View File

@ -81,6 +81,7 @@ automation:
click_type: single click_type: single
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: group.lights_livingroom entity_id: group.lights_livingroom
``` ```

View File

@ -56,6 +56,7 @@ automation:
event_type: foursquare.push event_type: foursquare.push
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.my_action entity_id: script.my_action
``` ```

View File

@ -158,5 +158,6 @@ You can also use the `homeassistant.update_entity` service to update the sensor
- fri - fri
action: action:
- service: homeassistant.update_entity - service: homeassistant.update_entity
target:
entity_id: sensor.morning_commute entity_id: sensor.morning_commute
``` ```

View File

@ -63,5 +63,6 @@ The current price for the Load Zone will appear as a sensor:
zone: zone.home zone: zone.home
action: action:
- service: switch.turn_off - service: switch.turn_off
target:
entity_id: switch.my_tesla_charger_switch entity_id: switch.my_tesla_charger_switch
``` ```

View File

@ -79,6 +79,7 @@ Using the activity name 'Watch TV', you can call a service via automation to swi
```yaml ```yaml
action: action:
- service: remote.turn_on - service: remote.turn_on
target:
entity_id: remote.bed_room_hub entity_id: remote.bed_room_hub
data: data:
activity: "Watch TV" activity: "Watch TV"
@ -207,6 +208,7 @@ automation:
value_template: '{{ trigger.to_state.attributes.current_activity == "Kodi" }}' value_template: '{{ trigger.to_state.attributes.current_activity == "Kodi" }}'
action: action:
service: input_boolean.turn_on service: input_boolean.turn_on
target:
entity_id: input_boolean.notify entity_id: input_boolean.notify
- alias: "PowerOff started from harmony hub" - alias: "PowerOff started from harmony hub"
trigger: trigger:
@ -217,6 +219,7 @@ automation:
value_template: '{{ trigger.to_state.attributes.current_activity == "PowerOff" }}' value_template: '{{ trigger.to_state.attributes.current_activity == "PowerOff" }}'
action: action:
service: input_boolean.turn_off service: input_boolean.turn_off
target:
entity_id: input_boolean.notify entity_id: input_boolean.notify
``` ```

View File

@ -176,5 +176,6 @@ automation:
- fri - fri
action: action:
- service: homeassistant.update_entity - service: homeassistant.update_entity
target:
entity_id: sensor.morning_commute entity_id: sensor.morning_commute
``` ```

View File

@ -261,6 +261,7 @@ automation:
param: PRESS_SHORT param: PRESS_SHORT
action: action:
service: switch.turn_on service: switch.turn_on
target:
entity_id: switch.Kitchen_Ambience entity_id: switch.Kitchen_Ambience
``` ```
@ -423,6 +424,7 @@ Manually set lock on KeyMatic devices:
... ...
action: action:
service: lock.lock service: lock.lock
target:
entity_id: lock.leq1234567 entity_id: lock.leq1234567
``` ```
@ -432,6 +434,7 @@ Manually set unlock on KeyMatic devices:
... ...
action: action:
service: lock.unlock service: lock.unlock
target:
entity_id: lock.leq1234567 entity_id: lock.leq1234567
``` ```

View File

@ -36,5 +36,6 @@ To add `Hunter Douglas PowerView` to your installation, go to **Configuration**
at: "18:00:00" at: "18:00:00"
action: action:
- service: scene.turn_on - service: scene.turn_on
target:
entity_id: scene.10877 entity_id: scene.10877
``` ```

View File

@ -121,6 +121,7 @@ automation:
at: input_datetime.bedroom_alarm_clock_time at: input_datetime.bedroom_alarm_clock_time
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.bedroom entity_id: light.bedroom
``` ```

View File

@ -253,6 +253,7 @@ automation:
action: action:
- delay: "00:{{ states('input_number.minutes') | int }}:{{ states('input_number.seconds') | int }}" - delay: "00:{{ states('input_number.minutes') | int }}:{{ states('input_number.seconds') | int }}"
- service: switch.turn_off - service: switch.turn_off
target:
entity_id: switch.something entity_id: switch.something
``` ```

View File

@ -139,6 +139,7 @@ automation:
state: "off" state: "off"
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.some_light entity_id: light.some_light
# single button remote # single button remote
@ -155,6 +156,7 @@ automation:
state: "off" state: "off"
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.some_light entity_id: light.some_light
``` ```
@ -400,6 +402,7 @@ automation:
state: "off" state: "off"
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.some_light entity_id: light.some_light
# single button remote # single button remote
@ -416,5 +419,6 @@ automation:
state: "off" state: "off"
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.some_light entity_id: light.some_light
``` ```

View File

@ -130,6 +130,7 @@ automation:
prec: "0" prec: "0"
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: light.lr_track_lights_rear entity_id: light.lr_track_lights_rear
``` ```

View File

@ -93,6 +93,7 @@ automation:
key_code: 107 # inspect log to obtain desired keycode key_code: 107 # inspect log to obtain desired keycode
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.all entity_id: light.all
``` ```

View File

@ -22,6 +22,7 @@ You can then activate each scene with its name from the smartphone app:
```yaml ```yaml
- service: scene.turn_on - service: scene.turn_on
target:
entity_id: scene.goodnight entity_id: scene.goodnight
``` ```

View File

@ -91,6 +91,7 @@ automation:
button_name: KEY_0 button_name: KEY_0
action: action:
service: homeassistant.turn_off service: homeassistant.turn_off
target:
entity_id: group.a_lights entity_id: group.a_lights
``` ```

View File

@ -59,6 +59,7 @@ automation:
action: call_service action: call_service
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.office entity_id: light.office
``` ```

View File

@ -175,6 +175,7 @@ automation:
state: armed_away state: armed_away
action: action:
service: alarm_control_panel.alarm_trigger service: alarm_control_panel.alarm_trigger
target:
entity_id: alarm_control_panel.ha_alarm entity_id: alarm_control_panel.ha_alarm
``` ```
@ -205,6 +206,7 @@ automation:
# many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad' # many z-wave locks use Alarm Type 19 for 'Unlocked by Keypad'
action: action:
- service: alarm_control_panel.alarm_disarm - service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.house_alarm entity_id: alarm_control_panel.house_alarm
``` ```

View File

@ -75,6 +75,7 @@ dropdown on UI. You can apply a scene by clicking an item from the dropdown or b
```yaml ```yaml
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.bedroom entity_id: light.bedroom
data: data:
effect: Romance effect: Romance

View File

@ -241,6 +241,7 @@ Example script:
play_plex_on_tv: play_plex_on_tv:
sequence: sequence:
- service: media_player.select_source - service: media_player.select_source
target:
entity_id: media_player.smart_tv entity_id: media_player.smart_tv
data: data:
source: "Plex" source: "Plex"

View File

@ -130,6 +130,7 @@ automation:
at: "5:30:00" at: "5:30:00"
action: action:
service: rainbird.start_irrigation service: rainbird.start_irrigation
target:
entity_id: switch.sprinkler_1 entity_id: switch.sprinkler_1
data: data:
duration: 5 duration: 5

View File

@ -292,6 +292,7 @@ automation:
Sound: 9 Sound: 9
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.welcomescene entity_id: scene.welcomescene
``` ```

View File

@ -69,6 +69,7 @@ automation:
to: "home" to: "home"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.romantic entity_id: scene.romantic
``` ```

View File

@ -169,6 +169,7 @@ automation:
to: "on" to: "on"
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.notify_pushover entity_id: script.notify_pushover
data: data:
variables: variables:
@ -243,6 +244,7 @@ script:
script_1: script_1:
sequence: sequence:
- service: script.turn_on - service: script.turn_on
target:
entity_id: script.script_2 entity_id: script.script_2
# Perform some other steps here while second script runs... # Perform some other steps here while second script runs...
# Now wait for called script to complete. # Now wait for called script to complete.

View File

@ -81,6 +81,7 @@ If the **BUTTON TYPE** of the switch connected to the device is set to `momentar
click_type: single click_type: single
action: action:
service: light.toggle service: light.toggle
target:
entity_id: light.living_room entity_id: light.living_room
- alias: "Toggle living room lamp" - alias: "Toggle living room lamp"
@ -93,6 +94,7 @@ If the **BUTTON TYPE** of the switch connected to the device is set to `momentar
click_type: long click_type: long
action: action:
service: light.toggle service: light.toggle
target:
entity_id: light.lamp_living_room entity_id: light.lamp_living_room
``` ```

View File

@ -56,6 +56,7 @@ The Logitech Transporter which have two digital inputs can be activated using a
transporter_toslink: transporter_toslink:
sequence: sequence:
- service: homeassistant.turn_on - service: homeassistant.turn_on
target:
entity_id: media_player.transporter entity_id: media_player.transporter
- service: media_player.play_media - service: media_player.play_media
data: data:

View File

@ -67,6 +67,7 @@ automation:
at: "5:30:00" at: "5:30:00"
action: action:
service: mysensors.send_ir_code service: mysensors.send_ir_code
target:
entity_id: switch.hvac_1_1 entity_id: switch.hvac_1_1
data: data:
V_IR_SEND: "0xC284" # the IR code to send V_IR_SEND: "0xC284" # the IR code to send
@ -77,6 +78,7 @@ automation:
at: "0:30:00" at: "0:30:00"
action: action:
service: mysensors.send_ir_code service: mysensors.send_ir_code
target:
entity_id: switch.hvac_1_1 entity_id: switch.hvac_1_1
data: data:
V_IR_SEND: "0xC288" # the IR code to send V_IR_SEND: "0xC288" # the IR code to send

View File

@ -97,6 +97,7 @@ automation:
level: WARNING level: WARNING
action: action:
service: counter.increment service: counter.increment
target:
entity_id: counter.warning_counter entity_id: counter.warning_counter
``` ```

View File

@ -332,10 +332,12 @@ trigger:
command: "/siren" command: "/siren"
action: action:
- service: homeassistant.turn_on - service: homeassistant.turn_on
target:
entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0 entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0
- delay: - delay:
seconds: 10 seconds: 10
- service: homeassistant.turn_off - service: homeassistant.turn_off
target:
entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0 entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0
``` ```

View File

@ -372,6 +372,7 @@ automation:
minutes: "/5" minutes: "/5"
action: action:
- service: homeassistant.update_entity - service: homeassistant.update_entity
target:
entity_id: sensor.random_number entity_id: sensor.random_number
``` ```

View File

@ -208,5 +208,6 @@ image_processing:
- binary_sensor.driveway - binary_sensor.driveway
action: action:
- service: image_processing.scan - service: image_processing.scan
target:
entity_id: camera.driveway entity_id: camera.driveway
``` ```

View File

@ -137,6 +137,7 @@ timer:
to: "on" to: "on"
action: action:
- service: timer.start - service: timer.start
target:
entity_id: timer.test entity_id: timer.test
# When timer is stopped, the time run out, another message is sent # When timer is stopped, the time run out, another message is sent
@ -163,20 +164,24 @@ script:
alias: "Start timer" alias: "Start timer"
sequence: sequence:
- service: timer.start - service: timer.start
target:
entity_id: timer.test entity_id: timer.test
pause_timer: pause_timer:
alias: "Pause timer" alias: "Pause timer"
sequence: sequence:
- service: timer.pause - service: timer.pause
target:
entity_id: timer.test entity_id: timer.test
cancel_timer: cancel_timer:
alias: "Cancel timer" alias: "Cancel timer"
sequence: sequence:
- service: timer.cancel - service: timer.cancel
target:
entity_id: timer.test entity_id: timer.test
finish_timer: finish_timer:
alias: "Finish timer" alias: "Finish timer"
sequence: sequence:
- service: timer.finish - service: timer.finish
target:
entity_id: timer.test entity_id: timer.test
``` ```

View File

@ -55,6 +55,7 @@ automation:
before: sunset before: sunset
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.OnDisarmedDaytime entity_id: scene.OnDisarmedDaytime
- alias: "Alarm: Armed Away" - alias: "Alarm: Armed Away"
trigger: trigger:
@ -63,6 +64,7 @@ automation:
to: "armed_away" to: "armed_away"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.OnArmedAway entity_id: scene.OnArmedAway
``` ```

View File

@ -59,5 +59,6 @@ automation:
action: call_service action: call_service
action: action:
service: light.turn_on service: light.turn_on
target:
entity_id: light.office entity_id: light.office
``` ```

View File

@ -219,6 +219,7 @@ automation:
to: "playing" to: "playing"
action: action:
- service: media_player.turn_on - service: media_player.turn_on
target:
entity_id: media_player.kodi_tv entity_id: media_player.kodi_tv
- alias: "Turn off the TV when Kodi is in idle > 15 min" - alias: "Turn off the TV when Kodi is in idle > 15 min"
@ -230,6 +231,7 @@ automation:
minutes: 15 minutes: 15
action: action:
- service: media_player.turn_off - service: media_player.turn_off
target:
entity_id: media_player.kodi_tv entity_id: media_player.kodi_tv
``` ```
@ -252,18 +254,22 @@ media_player:
commands: commands:
turn_on: turn_on:
service: remote.turn_on service: remote.turn_on
target:
entity_id: remote.alexander_down_guest entity_id: remote.alexander_down_guest
turn_off: turn_off:
service: remote.turn_off service: remote.turn_off
target:
entity_id: remote.alexander_down_guest entity_id: remote.alexander_down_guest
volume_up: volume_up:
service: remote.send_command service: remote.send_command
target:
entity_id: remote.alexander_down_guest entity_id: remote.alexander_down_guest
data: data:
device: Receiver device: Receiver
command: VolumeUp command: VolumeUp
volume_down: volume_down:
service: remote.send_command service: remote.send_command
target:
entity_id: remote.alexander_down_guest entity_id: remote.alexander_down_guest
data: data:
device: Receiver device: Receiver

View File

@ -198,6 +198,7 @@ all_lights_on:
description: "Activate two UPB scenes named interior_lights and exterior_lights" description: "Activate two UPB scenes named interior_lights and exterior_lights"
sequence: sequence:
- service: scene.turn_on - service: scene.turn_on
target:
entity_id: entity_id:
- scene.interior_lights - scene.interior_lights
- scene.exterior_lights - scene.exterior_lights
@ -207,6 +208,7 @@ all_lights_off:
description: "Deactivate two UPB scenes named interior_lights and exterior_lights" description: "Deactivate two UPB scenes named interior_lights and exterior_lights"
sequence: sequence:
- service: upb.scene_deactivate - service: upb.scene_deactivate
target:
entity_id: entity_id:
- scene.interior_lights - scene.interior_lights
- scene.exterior_lights - scene.exterior_lights

View File

@ -153,8 +153,10 @@ automation:
at: "21:00:00" at: "21:00:00"
action: action:
- service: utility_meter.next_tariff - service: utility_meter.next_tariff
target:
entity_id: utility_meter.daily_energy entity_id: utility_meter.daily_energy
- service: utility_meter.next_tariff - service: utility_meter.next_tariff
target:
entity_id: utility_meter.monthly_energy entity_id: utility_meter.monthly_energy
``` ```

View File

@ -143,6 +143,7 @@ automation:
state: "on" state: "on"
action: action:
service: switch.turn_on service: switch.turn_on
target:
entity_id: switch.heater entity_id: switch.heater
``` ```

View File

@ -1094,6 +1094,7 @@ script:
towel_heater: towel_heater:
sequence: sequence:
- service: remote.send_command - service: remote.send_command
target:
entity_id: "remote.bathroom_remote" entity_id: "remote.bathroom_remote"
data: data:
command: command:
@ -1101,6 +1102,7 @@ script:
please_cover_your_ears: please_cover_your_ears:
sequence: sequence:
- service: remote.send_command - service: remote.send_command
target:
entity_id: "remote.bathroom_remote" entity_id: "remote.bathroom_remote"
data: data:
command: command:

View File

@ -61,6 +61,7 @@ automation:
before: sunset before: sunset
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.OnDisarmedDaytime entity_id: scene.OnDisarmedDaytime
- alias: "Alarm: Armed Away" - alias: "Alarm: Armed Away"
trigger: trigger:
@ -69,5 +70,6 @@ automation:
to: "armed_away" to: "armed_away"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.OnArmedAway entity_id: scene.OnArmedAway
``` ```

View File

@ -54,6 +54,7 @@ automation:
before: "23:00:00" before: "23:00:00"
action: action:
service: homeassistant.turn_on service: homeassistant.turn_on
target:
entity_id: group.living_room entity_id: group.living_room
``` ```

View File

@ -72,6 +72,7 @@ automation:
state: "off" state: "off"
action: action:
service: switch.turn_on service: switch.turn_on
target:
entity_id: switch.gate entity_id: switch.gate
``` ```
@ -90,6 +91,7 @@ automation:
value_template: '{{ states.device_tracker.greg_gregphone.state != "home" }}' value_template: '{{ states.device_tracker.greg_gregphone.state != "home" }}'
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.send_key_alert entity_id: script.send_key_alert
- alias: "Forgotten keys - cancel" - alias: "Forgotten keys - cancel"
@ -102,6 +104,7 @@ automation:
state: "on" state: "on"
action: action:
service: script.turn_off service: script.turn_off
target:
entity_id: script.send_key_alert entity_id: script.send_key_alert
``` ```

View File

@ -81,6 +81,7 @@ automation:
to: "Complete" to: "Complete"
action: action:
service: script.turn_on service: script.turn_on
target:
entity_id: script.washer_complete entity_id: script.washer_complete
- alias: "Washer emptied" - alias: "Washer emptied"
@ -91,6 +92,7 @@ automation:
to: "Empty" to: "Empty"
action: action:
service: scene.turn_on service: scene.turn_on
target:
entity_id: scene.normal entity_id: scene.normal
script: script:

View File

@ -80,6 +80,7 @@ automation:
to: "on" to: "on"
action: action:
service: ffmpeg.start service: ffmpeg.start
target:
entity_id: binary_sensor.ffmpeg_noise entity_id: binary_sensor.ffmpeg_noise
- alias: "Babyphone off" - alias: "Babyphone off"
@ -90,6 +91,7 @@ automation:
to: "off" to: "off"
action: action:
service: ffmpeg.stop service: ffmpeg.stop
target:
entity_id: binary_sensor.ffmpeg_noise entity_id: binary_sensor.ffmpeg_noise
``` ```
@ -107,19 +109,24 @@ automation:
to: "on" to: "on"
action: action:
- service: media_player.sonos_snapshot - service: media_player.sonos_snapshot
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
- service: media_player.sonos_unjoin - service: media_player.sonos_unjoin
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
- service: media_player.volume_set - service: media_player.volume_set
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
data: data:
volume_level: 0.4 volume_level: 0.4
- service: media_player.play_media - service: media_player.play_media
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
data: data:
media_content_type: "music" media_content_type: "music"
media_content_id: http://my_ip_icecast:8000/babyphone.mp3 media_content_id: http://my_ip_icecast:8000/babyphone.mp3
- service: light.turn_on: - service: light.turn_on:
target:
entity_id: entity_id:
- light.floor - light.floor
- light.bedroom - light.bedroom
@ -134,8 +141,10 @@ automation:
to: "off" to: "off"
action: action:
- service: media_player.sonos_restore - service: media_player.sonos_restore
target:
entity_id: media_player.bedroom entity_id: media_player.bedroom
- service: light.turn_off: - service: light.turn_off:
target:
entity_id: entity_id:
- light.floor - light.floor
- light.bedroom - light.bedroom

View File

@ -221,6 +221,7 @@ Experiencing issues introduced by this release? Please report them in our [issue
entity_id: all entity_id: all
action: action:
service: light.turn_off service: light.turn_off
target:
entity_id: all entity_id: all
``` ```

View File

@ -46,6 +46,7 @@ automation:
action: close_garage action: close_garage
action: action:
service: cover.close_cover service: cover.close_cover
target:
entity_id: cover.garage_door entity_id: cover.garage_door
``` ```

View File

@ -215,6 +215,7 @@ condition:
state: disarmed state: disarmed
action: action:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.kitchen entity_id: light.kitchen
``` ```

View File

@ -80,10 +80,12 @@ automation:
to: "on" to: "on"
action: action:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.bulb entity_id: light.bulb
- delay: - delay:
seconds: 10 seconds: 10
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.bulb entity_id: light.bulb
``` ```
@ -240,6 +242,7 @@ automation:
state: "on" state: "on"
sequence: sequence:
- service: light.turn_on - service: light.turn_on
target:
entity_id: light.bulb entity_id: light.bulb
- conditions: - conditions:
- condition: state - condition: state
@ -247,6 +250,7 @@ automation:
state: "on" state: "on"
sequence: sequence:
- service: light.turn_off - service: light.turn_off
target:
entity_id: light.bulb entity_id: light.bulb
default: default:
- service: notify.frenck - service: notify.frenck
@ -284,6 +288,7 @@ script:
count: 10 count: 10
sequence: sequence:
- service: light.toggle - service: light.toggle
target:
entity_id: light.bulb entity_id: light.bulb
- delay: - delay:
milliseconds: 500 milliseconds: 500

View File

@ -468,6 +468,7 @@ automation:
state: "on" state: "on"
action: action:
- service: cover.open_cover - service: cover.open_cover
target:
entity_id: cover.sonne_abstellkammer entity_id: cover.sonne_abstellkammer
- alias: "Binary sensor test counter=1 off" - alias: "Binary sensor test counter=1 off"
@ -483,6 +484,7 @@ automation:
state: "off" state: "off"
action: action:
- service: cover.close_cover - service: cover.close_cover
target:
entity_id: cover.sonne_abstellkammer entity_id: cover.sonne_abstellkammer
``` ```

View File

@ -139,6 +139,7 @@ For example:
```yaml ```yaml
action: action:
service: tts.cloud_say service: tts.cloud_say
target:
entity_id: media_player.family_room_speaker entity_id: media_player.family_room_speaker
data: data:
message: These new voices sound absolutely stunning! message: These new voices sound absolutely stunning!