Extend targets for entity component services (#50760)

This commit is contained in:
Franck Nijhof 2021-05-17 14:06:50 +02:00 committed by GitHub
parent ee4e14e45e
commit eccefd154a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 276 additions and 16 deletions

View File

@ -4,6 +4,8 @@ alarm_disarm:
name: Disarm name: Disarm
description: Send the alarm the command for disarm. description: Send the alarm the command for disarm.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code
@ -16,11 +18,12 @@ alarm_arm_custom_bypass:
name: Arm with custom bypass name: Arm with custom bypass
description: Send arm custom bypass command. description: Send arm custom bypass command.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code
description: description: An optional code to arm custom bypass the alarm control panel with.
An optional code to arm custom bypass the alarm control panel with.
example: "1234" example: "1234"
selector: selector:
text: text:
@ -29,6 +32,8 @@ alarm_arm_home:
name: Arm home name: Arm home
description: Send the alarm the command for arm home. description: Send the alarm the command for arm home.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code
@ -41,6 +46,8 @@ alarm_arm_away:
name: Arm away name: Arm away
description: Send the alarm the command for arm away. description: Send the alarm the command for arm away.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code
@ -53,6 +60,8 @@ alarm_arm_night:
name: Arm night name: Arm night
description: Send the alarm the command for arm night. description: Send the alarm the command for arm night.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code
@ -65,6 +74,8 @@ alarm_trigger:
name: Trigger name: Trigger
description: Send the alarm the command for trigger. description: Send the alarm the command for trigger.
target: target:
entity:
domain: alarm_control_panel
fields: fields:
code: code:
name: Code name: Code

View File

@ -2,13 +2,19 @@ toggle:
name: Toggle name: Toggle
description: Toggle alert's notifications. description: Toggle alert's notifications.
target: target:
entity:
domain: alert
turn_off: turn_off:
name: Turn off name: Turn off
description: Silence alert's notifications. description: Silence alert's notifications.
target: target:
entity:
domain: alert
turn_on: turn_on:
name: Turn on name: Turn on
description: Reset alert's notifications. description: Reset alert's notifications.
target: target:
entity:
domain: alert

View File

@ -3,11 +3,15 @@ turn_on:
name: Turn on name: Turn on
description: Enable an automation. description: Enable an automation.
target: target:
entity:
domain: automation
turn_off: turn_off:
name: Turn off name: Turn off
description: Disable an automation. description: Disable an automation.
target: target:
entity:
domain: automation
fields: fields:
stop_actions: stop_actions:
name: Stop actions name: Stop actions
@ -21,11 +25,15 @@ toggle:
name: Toggle name: Toggle
description: Toggle (enable / disable) an automation. description: Toggle (enable / disable) an automation.
target: target:
entity:
domain: automation
trigger: trigger:
name: Trigger name: Trigger
description: Trigger the actions of an automation. description: Trigger the actions of an automation.
target: target:
entity:
domain: automation
fields: fields:
skip_condition: skip_condition:
name: Skip conditions name: Skip conditions

View File

@ -4,26 +4,36 @@ turn_off:
name: Turn off name: Turn off
description: Turn off camera. description: Turn off camera.
target: target:
entity:
domain: camera
turn_on: turn_on:
name: Turn on name: Turn on
description: Turn on camera. description: Turn on camera.
target: target:
entity:
domain: camera
enable_motion_detection: enable_motion_detection:
name: Enable motion detection name: Enable motion detection
description: Enable the motion detection in a camera. description: Enable the motion detection in a camera.
target: target:
entity:
domain: camera
disable_motion_detection: disable_motion_detection:
name: Disable motion detection name: Disable motion detection
description: Disable the motion detection in a camera. description: Disable the motion detection in a camera.
target: target:
entity:
domain: camera
snapshot: snapshot:
name: Take snapshot name: Take snapshot
description: Take a snapshot from a camera. description: Take a snapshot from a camera.
target: target:
entity:
domain: camera
fields: fields:
filename: filename:
name: Filename name: Filename
@ -37,6 +47,8 @@ play_stream:
name: Play stream name: Play stream
description: Play camera stream on supported media player. description: Play camera stream on supported media player.
target: target:
entity:
domain: camera
fields: fields:
media_player: media_player:
name: Media Player name: Media Player
@ -60,6 +72,8 @@ record:
name: Record name: Record
description: Record live camera feed. description: Record live camera feed.
target: target:
entity:
domain: camera
fields: fields:
filename: filename:
name: Filename name: Filename

View File

@ -4,6 +4,8 @@ set_aux_heat:
name: Turn on/off auxiliary heater name: Turn on/off auxiliary heater
description: Turn auxiliary heater on/off for climate device. description: Turn auxiliary heater on/off for climate device.
target: target:
entity:
domain: climate
fields: fields:
aux_heat: aux_heat:
name: Auxiliary heating name: Auxiliary heating
@ -17,6 +19,8 @@ set_preset_mode:
name: Set preset mode name: Set preset mode
description: Set preset mode for climate device. description: Set preset mode for climate device.
target: target:
entity:
domain: climate
fields: fields:
preset_mode: preset_mode:
name: Preset mode name: Preset mode
@ -30,6 +34,8 @@ set_temperature:
name: Set temperature name: Set temperature
description: Set target temperature of climate device. description: Set target temperature of climate device.
target: target:
entity:
domain: climate
fields: fields:
temperature: temperature:
name: Temperature name: Temperature
@ -82,6 +88,8 @@ set_humidity:
name: Set target humidity name: Set target humidity
description: Set target humidity of climate device. description: Set target humidity of climate device.
target: target:
entity:
domain: climate
fields: fields:
humidity: humidity:
name: Humidity name: Humidity
@ -100,6 +108,8 @@ set_fan_mode:
name: Set fan mode name: Set fan mode
description: Set fan operation for climate device. description: Set fan operation for climate device.
target: target:
entity:
domain: climate
fields: fields:
fan_mode: fan_mode:
name: Fan mode name: Fan mode
@ -113,6 +123,8 @@ set_hvac_mode:
name: Set HVAC mode name: Set HVAC mode
description: Set HVAC operation mode for climate device. description: Set HVAC operation mode for climate device.
target: target:
entity:
domain: climate
fields: fields:
hvac_mode: hvac_mode:
name: HVAC mode name: HVAC mode
@ -133,6 +145,8 @@ set_swing_mode:
name: Set swing mode name: Set swing mode
description: Set swing operation for climate device. description: Set swing operation for climate device.
target: target:
entity:
domain: climate
fields: fields:
swing_mode: swing_mode:
name: Swing mode name: Swing mode
@ -146,8 +160,12 @@ turn_on:
name: Turn on name: Turn on
description: Turn climate device on. description: Turn climate device on.
target: target:
entity:
domain: climate
turn_off: turn_off:
name: Turn off name: Turn off
description: Turn climate device off. description: Turn climate device off.
target: target:
entity:
domain: climate

View File

@ -4,6 +4,8 @@ turn_on:
Set the light RGB to the predominant color found in the image provided by Set the light RGB to the predominant color found in the image provided by
URL or file path. URL or file path.
target: target:
entity:
domain: light
fields: fields:
color_extract_url: color_extract_url:
name: URL name: URL

View File

@ -4,21 +4,29 @@ decrement:
name: Decrement name: Decrement
description: Decrement a counter. description: Decrement a counter.
target: target:
entity:
domain: counter
increment: increment:
name: Increment name: Increment
description: Increment a counter. description: Increment a counter.
target: target:
entity:
domain: counter
reset: reset:
name: Reset name: Reset
description: Reset a counter. description: Reset a counter.
target: target:
entity:
domain: counter
configure: configure:
name: Configure name: Configure
description: Change counter parameters. description: Change counter parameters.
target: target:
entity:
domain: counter
fields: fields:
minimum: minimum:
name: Minimum name: Minimum

View File

@ -4,21 +4,29 @@ open_cover:
name: Open name: Open
description: Open all or specified cover. description: Open all or specified cover.
target: target:
entity:
domain: cover
close_cover: close_cover:
name: Close name: Close
description: Close all or specified cover. description: Close all or specified cover.
target: target:
entity:
domain: cover
toggle: toggle:
name: Toggle name: Toggle
description: Toggle a cover open/closed. description: Toggle a cover open/closed.
target: target:
entity:
domain: cover
set_cover_position: set_cover_position:
name: Set position name: Set position
description: Move to specific position all or specified cover. description: Move to specific position all or specified cover.
target: target:
entity:
domain: cover
fields: fields:
position: position:
name: Position name: Position
@ -37,26 +45,36 @@ stop_cover:
name: Stop name: Stop
description: Stop all or specified cover. description: Stop all or specified cover.
target: target:
entity:
domain: cover
open_cover_tilt: open_cover_tilt:
name: Open tilt name: Open tilt
description: Open all or specified cover tilt. description: Open all or specified cover tilt.
target: target:
entity:
domain: cover
close_cover_tilt: close_cover_tilt:
name: Close tilt name: Close tilt
description: Close all or specified cover tilt. description: Close all or specified cover tilt.
target: target:
entity:
domain: cover
toggle_cover_tilt: toggle_cover_tilt:
name: Toggle tilt name: Toggle tilt
description: Toggle a cover tilt open/closed. description: Toggle a cover tilt open/closed.
target: target:
entity:
domain: cover
set_cover_tilt_position: set_cover_tilt_position:
name: Set tilt position name: Set tilt position
description: Move to specific position all or specified cover tilt. description: Move to specific position all or specified cover tilt.
target: target:
entity:
domain: cover
fields: fields:
tilt_position: tilt_position:
name: Tilt position name: Tilt position
@ -75,3 +93,5 @@ stop_cover_tilt:
name: Stop tilt name: Stop tilt
description: Stop all or specified cover. description: Stop all or specified cover.
target: target:
entity:
domain: cover

View File

@ -3,6 +3,8 @@ set_speed:
name: Set speed name: Set speed
description: Set fan speed. description: Set fan speed.
target: target:
entity:
domain: fan
fields: fields:
speed: speed:
name: Speed name: Speed
@ -16,6 +18,8 @@ set_preset_mode:
name: Set preset mode name: Set preset mode
description: Set preset mode for a fan device. description: Set preset mode for a fan device.
target: target:
entity:
domain: fan
fields: fields:
preset_mode: preset_mode:
name: Preset mode name: Preset mode
@ -29,6 +33,8 @@ set_percentage:
name: Set speed percentage name: Set speed percentage
description: Set fan speed percentage. description: Set fan speed percentage.
target: target:
entity:
domain: fan
fields: fields:
percentage: percentage:
name: Percentage name: Percentage
@ -47,6 +53,8 @@ turn_on:
name: Turn on name: Turn on
description: Turn fan on. description: Turn fan on.
target: target:
entity:
domain: fan
fields: fields:
speed: speed:
name: Speed name: Speed
@ -74,11 +82,15 @@ turn_off:
name: Turn off name: Turn off
description: Turn fan off. description: Turn fan off.
target: target:
entity:
domain: fan
oscillate: oscillate:
name: Oscillate name: Oscillate
description: Oscillate the fan. description: Oscillate the fan.
target: target:
entity:
domain: fan
fields: fields:
oscillating: oscillating:
name: Oscillating name: Oscillating
@ -92,11 +104,15 @@ toggle:
name: Toggle name: Toggle
description: Toggle the fan on/off. description: Toggle the fan on/off.
target: target:
entity:
domain: fan
set_direction: set_direction:
name: Set direction name: Set direction
description: Set the fan rotation. description: Set the fan rotation.
target: target:
entity:
domain: fan
fields: fields:
direction: direction:
name: Direction name: Direction
@ -113,6 +129,8 @@ increase_speed:
name: Increase speed name: Increase speed
description: Increase the speed of the fan by one speed or a percentage_step. description: Increase the speed of the fan by one speed or a percentage_step.
target: target:
entity:
domain: fan
fields: fields:
percentage_step: percentage_step:
advanced: true advanced: true
@ -131,6 +149,8 @@ decrease_speed:
name: Decrease speed name: Decrease speed
description: Decrease the speed of the fan by one speed or a percentage_step. description: Decrease the speed of the fan by one speed or a percentage_step.
target: target:
entity:
domain: fan
fields: fields:
percentage_step: percentage_step:
advanced: true advanced: true

View File

@ -2,16 +2,22 @@ toggle:
name: Toggle name: Toggle
description: Toggle an input boolean description: Toggle an input boolean
target: target:
entity:
domain: input_boolean
turn_off: turn_off:
name: Turn off name: Turn off
description: Turn off an input boolean description: Turn off an input boolean
target: target:
entity:
domain: input_boolean
turn_on: turn_on:
name: Turn on name: Turn on
description: Turn on an input boolean description: Turn on an input boolean
target: target:
entity:
domain: input_boolean
reload: reload:
name: Reload name: Reload

View File

@ -2,6 +2,8 @@ set_datetime:
name: Set name: Set
description: This can be used to dynamically set the date and/or time. description: This can be used to dynamically set the date and/or time.
target: target:
entity:
domain: input_datetime
fields: fields:
date: date:
name: Date name: Date

View File

@ -2,16 +2,22 @@ decrement:
name: Decrement name: Decrement
description: Decrement the value of an input number entity by its stepping. description: Decrement the value of an input number entity by its stepping.
target: target:
entity:
domain: input_number
increment: increment:
name: Increment name: Increment
description: Increment the value of an input number entity by its stepping. description: Increment the value of an input number entity by its stepping.
target: target:
entity:
domain: input_number
set_value: set_value:
name: Set name: Set
description: Set the value of an input number entity. description: Set the value of an input number entity.
target: target:
entity:
domain: input_number
fields: fields:
value: value:
name: Value name: Value

View File

@ -2,6 +2,8 @@ select_next:
name: Next name: Next
description: Select the next options of an input select entity. description: Select the next options of an input select entity.
target: target:
entity:
domain: input_select
fields: fields:
cycle: cycle:
name: Cycle name: Cycle
@ -15,6 +17,8 @@ select_option:
name: Select name: Select
description: Select an option of an input select entity. description: Select an option of an input select entity.
target: target:
entity:
domain: input_select
fields: fields:
option: option:
name: Option name: Option
@ -28,6 +32,8 @@ select_previous:
name: Previous name: Previous
description: Select the previous options of an input select entity. description: Select the previous options of an input select entity.
target: target:
entity:
domain: input_select
fields: fields:
cycle: cycle:
name: Cycle name: Cycle
@ -41,16 +47,22 @@ select_first:
name: First name: First
description: Select the first option of an input select entity. description: Select the first option of an input select entity.
target: target:
entity:
domain: input_select
select_last: select_last:
name: Last name: Last
description: Select the last option of an input select entity. description: Select the last option of an input select entity.
target: target:
entity:
domain: input_select
set_options: set_options:
name: Set options name: Set options
description: Set the options of an input select entity. description: Set the options of an input select entity.
target: target:
entity:
domain: input_select
fields: fields:
options: options:
name: Options name: Options

View File

@ -2,6 +2,8 @@ set_value:
name: Set name: Set
description: Set the value of an input text entity. description: Set the value of an input text entity.
target: target:
entity:
domain: input_text
fields: fields:
value: value:
name: Value name: Value

View File

@ -6,6 +6,8 @@ turn_on:
Turn on one or more lights and adjust properties of the light, even when Turn on one or more lights and adjust properties of the light, even when
they are turned on already. they are turned on already.
target: target:
entity:
domain: light
fields: fields:
transition: transition:
name: Transition name: Transition
@ -198,8 +200,7 @@ turn_on:
- "yellowgreen" - "yellowgreen"
hs_color: hs_color:
name: Hue/Sat color name: Hue/Sat color
description: description: Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
advanced: true advanced: true
example: "[300, 70]" example: "[300, 70]"
selector: selector:
@ -276,8 +277,7 @@ turn_on:
mode: slider mode: slider
brightness_step_pct: brightness_step_pct:
name: Brightness step name: Brightness step
description: description: Change brightness by a percentage. Should be between -100..100.
Change brightness by a percentage. Should be between -100..100.
example: -10 example: -10
selector: selector:
number: number:
@ -320,6 +320,8 @@ turn_off:
name: Turn off name: Turn off
description: Turns off one or more lights. description: Turns off one or more lights.
target: target:
entity:
domain: light
fields: fields:
transition: transition:
name: Transition name: Transition
@ -352,6 +354,8 @@ toggle:
Toggles one or more lights, from on to off, or, off to on, based on their Toggles one or more lights, from on to off, or, off to on, based on their
current state. current state.
target: target:
entity:
domain: light
fields: fields:
transition: transition:
name: Transition name: Transition
@ -530,8 +534,7 @@ toggle:
- "yellowgreen" - "yellowgreen"
hs_color: hs_color:
name: Hue/Sat color name: Hue/Sat color
description: description: Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
advanced: true advanced: true
example: "[300, 70]" example: "[300, 70]"
selector: selector:
@ -580,8 +583,7 @@ toggle:
mode: slider mode: slider
brightness: brightness:
name: Brightness value name: Brightness value
description: description: Number indicating brightness, where 0 turns the light
Number indicating brightness, where 0 turns the light
off, 1 is the minimum brightness and 255 is the maximum brightness off, 1 is the minimum brightness and 255 is the maximum brightness
supported by the light. supported by the light.
advanced: true advanced: true

View File

@ -4,11 +4,15 @@ reset_waste_drawer:
name: Reset waste drawer name: Reset waste drawer
description: Reset the waste drawer level. description: Reset the waste drawer level.
target: target:
entity:
integration: litterrobot
set_sleep_mode: set_sleep_mode:
name: Set sleep mode name: Set sleep mode
description: Set the sleep mode and start time. description: Set the sleep mode and start time.
target: target:
entity:
integration: litterrobot
fields: fields:
enabled: enabled:
name: Enabled name: Enabled
@ -29,6 +33,8 @@ set_wait_time:
name: Set wait time name: Set wait time
description: Set the wait time, in minutes, between when your cat uses the Litter-Robot and when the unit cycles automatically. description: Set the wait time, in minutes, between when your cat uses the Litter-Robot and when the unit cycles automatically.
target: target:
entity:
integration: litterrobot
fields: fields:
minutes: minutes:
name: Minutes name: Minutes

View File

@ -46,6 +46,8 @@ lock:
name: Lock name: Lock
description: Lock all or specified locks. description: Lock all or specified locks.
target: target:
entity:
domain: lock
fields: fields:
code: code:
name: Code name: Code
@ -58,6 +60,8 @@ open:
name: Open name: Open
description: Open all or specified locks. description: Open all or specified locks.
target: target:
entity:
domain: lock
fields: fields:
code: code:
name: Code name: Code
@ -95,6 +99,8 @@ unlock:
name: Unlock name: Unlock
description: Unlock all or specified locks. description: Unlock all or specified locks.
target: target:
entity:
domain: lock
fields: fields:
code: code:
name: Code name: Code

View File

@ -4,31 +4,43 @@ turn_on:
name: Turn on name: Turn on
description: Turn a media player power on. description: Turn a media player power on.
target: target:
entity:
domain: media_player
turn_off: turn_off:
name: Turn off name: Turn off
description: Turn a media player power off. description: Turn a media player power off.
target: target:
entity:
domain: media_player
toggle: toggle:
name: Toggle name: Toggle
description: Toggles a media player power state. description: Toggles a media player power state.
target: target:
entity:
domain: media_player
volume_up: volume_up:
name: Turn up volume name: Turn up volume
description: Turn a media player volume up. description: Turn a media player volume up.
target: target:
entity:
domain: media_player
volume_down: volume_down:
name: Turn down volume name: Turn down volume
description: Turn a media player volume down. description: Turn a media player volume down.
target: target:
entity:
domain: media_player
volume_mute: volume_mute:
name: Mute volume name: Mute volume
description: Mute a media player's volume. description: Mute a media player's volume.
target: target:
entity:
domain: media_player
fields: fields:
is_volume_muted: is_volume_muted:
name: Muted name: Muted
@ -42,6 +54,8 @@ volume_set:
name: Set volume name: Set volume
description: Set a media player's volume level. description: Set a media player's volume level.
target: target:
entity:
domain: media_player
fields: fields:
volume_level: volume_level:
name: Level name: Level
@ -59,37 +73,50 @@ media_play_pause:
name: Play/Pause name: Play/Pause
description: Toggle media player play/pause state. description: Toggle media player play/pause state.
target: target:
entity:
domain: media_player
media_play: media_play:
name: Play name: Play
description: Send the media player the command for play. description: Send the media player the command for play.
target: target:
entity:
domain: media_player
media_pause: media_pause:
name: Pause name: Pause
description: Send the media player the command for pause. description: Send the media player the command for pause.
target: target:
entity:
domain: media_player
media_stop: media_stop:
name: Stop name: Stop
description: Send the media player the stop command. description: Send the media player the stop command.
target: target:
entity:
domain: media_player
media_next_track: media_next_track:
name: Next name: Next
description: Send the media player the command for next track. description: Send the media player the command for next track.
target: target:
entity:
domain: media_player
media_previous_track: media_previous_track:
name: Previous name: Previous
description: Send the media player the command for previous track. description: Send the media player the command for previous track.
target: target:
entity:
domain: media_player
media_seek: media_seek:
name: Seek name: Seek
description: description: Send the media player the command to seek in current playing media.
Send the media player the command to seek in current playing media.
target: target:
entity:
domain: media_player
fields: fields:
seek_position: seek_position:
name: Position name: Position
@ -107,6 +134,8 @@ play_media:
name: Play media name: Play media
description: Send the media player the command for playing media. description: Send the media player the command for playing media.
target: target:
entity:
domain: media_player
fields: fields:
media_content_id: media_content_id:
name: Content ID name: Content ID
@ -130,6 +159,8 @@ select_source:
name: Select source name: Select source
description: Send the media player the command to change input source. description: Send the media player the command to change input source.
target: target:
entity:
domain: media_player
fields: fields:
source: source:
name: Source name: Source
@ -143,6 +174,8 @@ select_sound_mode:
name: Select sound mode name: Select sound mode
description: Send the media player the command to change sound mode. description: Send the media player the command to change sound mode.
target: target:
entity:
domain: media_player
fields: fields:
sound_mode: sound_mode:
name: Sound mode name: Sound mode
@ -155,11 +188,15 @@ clear_playlist:
name: Clear playlist name: Clear playlist
description: Send the media player the command to clear players playlist. description: Send the media player the command to clear players playlist.
target: target:
entity:
domain: media_player
shuffle_set: shuffle_set:
name: Shuffle name: Shuffle
description: Set shuffling state. description: Set shuffling state.
target: target:
entity:
domain: media_player
fields: fields:
shuffle: shuffle:
name: Shuffle name: Shuffle
@ -173,6 +210,8 @@ repeat_set:
name: Repeat name: Repeat
description: Set repeat mode description: Set repeat mode
target: target:
entity:
domain: media_player
fields: fields:
repeat: repeat:
name: Repeat mode name: Repeat mode
@ -192,11 +231,12 @@ join:
Group players together. Only works on platforms with support for player Group players together. Only works on platforms with support for player
groups. groups.
target: target:
entity:
domain: media_player
fields: fields:
group_members: group_members:
name: Group members name: Group members
description: description: The players which will be synced with the target player.
The players which will be synced with the target player.
example: example:
- "media_player.multiroom_player2" - "media_player.multiroom_player2"
- "media_player.multiroom_player3" - "media_player.multiroom_player3"
@ -209,3 +249,5 @@ unjoin:
player groups. player groups.
name: Unjoin name: Unjoin
target: target:
entity:
domain: media_player

View File

@ -4,6 +4,8 @@ set_value:
name: Set name: Set
description: Set the value of a Number entity. description: Set the value of a Number entity.
target: target:
entity:
domain: number
fields: fields:
value: value:
name: Value name: Value

View File

@ -4,6 +4,8 @@ turn_on:
name: Turn On name: Turn On
description: Sends the Power On Command. description: Sends the Power On Command.
target: target:
entity:
domain: remote
fields: fields:
activity: activity:
description: Activity ID or Activity Name to start. description: Activity ID or Activity Name to start.
@ -15,16 +17,22 @@ toggle:
name: Toggle name: Toggle
description: Toggles a device. description: Toggles a device.
target: target:
entity:
domain: remote
turn_off: turn_off:
name: Turn Off name: Turn Off
description: Sends the Power Off Command. description: Sends the Power Off Command.
target: target:
entity:
domain: remote
send_command: send_command:
name: Send Command name: Send Command
description: Sends a command or a list of commands to a device. description: Sends a command or a list of commands to a device.
target: target:
entity:
domain: remote
fields: fields:
device: device:
name: Device name: Device
@ -75,6 +83,8 @@ learn_command:
name: Learn Command name: Learn Command
description: Learns a command or a list of commands from a device. description: Learns a command or a list of commands from a device.
target: target:
entity:
domain: remote
fields: fields:
device: device:
description: Device ID to learn command from. description: Device ID to learn command from.
@ -116,6 +126,8 @@ delete_command:
name: Delete Command name: Delete Command
description: Deletes a command or a list of commands from the database. description: Deletes a command or a list of commands from the database.
target: target:
entity:
domain: remote
fields: fields:
device: device:
description: Name of the device from which commands will be deleted. description: Name of the device from which commands will be deleted.

View File

@ -4,6 +4,8 @@ turn_on:
name: Activate name: Activate
description: Activate a scene. description: Activate a scene.
target: target:
entity:
domain: scene
fields: fields:
transition: transition:
name: Transition name: Transition

View File

@ -8,13 +8,19 @@ turn_on:
name: Turn on name: Turn on
description: Turn on script description: Turn on script
target: target:
entity:
domain: script
turn_off: turn_off:
name: Turn off name: Turn off
description: Turn off script description: Turn off script
target: target:
entity:
domain: script
toggle: toggle:
name: Toggle name: Toggle
description: Toggle script description: Toggle script
target: target:
entity:
domain: script

View File

@ -4,13 +4,19 @@ turn_on:
name: Turn on name: Turn on
description: Turn a switch on description: Turn a switch on
target: target:
entity:
domain: switch
turn_off: turn_off:
name: Turn off name: Turn off
description: Turn a switch off description: Turn a switch off
target: target:
entity:
domain: switch
toggle: toggle:
name: Toggle name: Toggle
description: Toggles a switch state description: Toggles a switch state
target: target:
entity:
domain: switch

View File

@ -4,6 +4,8 @@ start:
name: Start name: Start
description: Start a timer description: Start a timer
target: target:
entity:
domain: timer
fields: fields:
duration: duration:
description: Duration the timer requires to finish. [optional] description: Duration the timer requires to finish. [optional]
@ -16,13 +18,19 @@ pause:
name: Pause name: Pause
description: Pause a timer. description: Pause a timer.
target: target:
entity:
domain: timer
cancel: cancel:
name: Cancel name: Cancel
description: Cancel a timer. description: Cancel a timer.
target: target:
entity:
domain: timer
finish: finish:
name: Finish name: Finish
description: Finish a timer. description: Finish a timer.
target: target:
entity:
domain: timer

View File

@ -4,16 +4,22 @@ reset:
name: Reset name: Reset
description: Resets the counter of a utility meter. description: Resets the counter of a utility meter.
target: target:
entity:
domain: utility_meter
next_tariff: next_tariff:
name: Next Tariff name: Next Tariff
description: Changes the tariff to the next one. description: Changes the tariff to the next one.
target: target:
entity:
domain: utility_meter
select_tariff: select_tariff:
name: Select Tariff name: Select Tariff
description: Selects the current tariff of a utility meter. description: Selects the current tariff of a utility meter.
target: target:
entity:
domain: utility_meter
fields: fields:
tariff: tariff:
name: Tariff name: Tariff
@ -37,4 +43,3 @@ calibrate:
required: true required: true
selector: selector:
text: text:

View File

@ -4,51 +4,71 @@ turn_on:
name: Turn on name: Turn on
description: Start a new cleaning task. description: Start a new cleaning task.
target: target:
entity:
domain: vacuum
turn_off: turn_off:
name: Turn off name: Turn off
description: Stop the current cleaning task and return to home. description: Stop the current cleaning task and return to home.
target: target:
entity:
domain: vacuum
stop: stop:
name: Stop name: Stop
description: Stop the current cleaning task. description: Stop the current cleaning task.
target: target:
entity:
domain: vacuum
locate: locate:
name: Locate name: Locate
description: Locate the vacuum cleaner robot. description: Locate the vacuum cleaner robot.
target: target:
entity:
domain: vacuum
start_pause: start_pause:
name: Start/Pause name: Start/Pause
description: Start, pause, or resume the cleaning task. description: Start, pause, or resume the cleaning task.
target: target:
entity:
domain: vacuum
start: start:
name: Start name: Start
description: Start or resume the cleaning task. description: Start or resume the cleaning task.
target: target:
entity:
domain: vacuum
pause: pause:
name: Pause name: Pause
description: Pause the cleaning task. description: Pause the cleaning task.
target: target:
entity:
domain: vacuum
return_to_base: return_to_base:
name: Return to base name: Return to base
description: Tell the vacuum cleaner to return to its dock. description: Tell the vacuum cleaner to return to its dock.
target: target:
entity:
domain: vacuum
clean_spot: clean_spot:
name: Clean spot name: Clean spot
description: Tell the vacuum cleaner to do a spot clean-up. description: Tell the vacuum cleaner to do a spot clean-up.
target: target:
entity:
domain: vacuum
send_command: send_command:
name: Send command name: Send command
description: Send a raw command to the vacuum cleaner. description: Send a raw command to the vacuum cleaner.
target: target:
entity:
domain: vacuum
fields: fields:
command: command:
name: Command name: Command
@ -68,6 +88,8 @@ set_fan_speed:
name: Set fan speed name: Set fan speed
description: Set the fan speed of the vacuum cleaner. description: Set the fan speed of the vacuum cleaner.
target: target:
entity:
domain: vacuum
fields: fields:
fan_speed: fan_speed:
name: Fan speed name: Fan speed

View File

@ -4,6 +4,8 @@ set_away_mode:
name: Set away mode name: Set away mode
description: Turn away mode on/off for water_heater device. description: Turn away mode on/off for water_heater device.
target: target:
entity:
domain: water_heater
fields: fields:
away_mode: away_mode:
name: Away mode name: Away mode
@ -16,6 +18,8 @@ set_temperature:
name: Set temperature name: Set temperature
description: Set target temperature of water_heater device. description: Set target temperature of water_heater device.
target: target:
entity:
domain: water_heater
fields: fields:
temperature: temperature:
name: Temperature name: Temperature
@ -26,7 +30,7 @@ set_temperature:
min: 0 min: 0
max: 100 max: 100
step: 0.5 step: 0.5
unit_of_measurement: '°' unit_of_measurement: "°"
operation_mode: operation_mode:
name: Operation mode name: Operation mode
description: New value of operation mode. description: New value of operation mode.
@ -38,6 +42,8 @@ set_operation_mode:
name: Set operation mode name: Set operation mode
description: Set operation mode for water_heater device. description: Set operation mode for water_heater device.
target: target:
entity:
domain: water_heater
fields: fields:
operation_mode: operation_mode:
name: Operation mode name: Operation mode