mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add targets and selectors for services (B-C) (#50189)
This commit is contained in:
parent
9247a157d8
commit
6f5629cf14
@ -1,2 +1,3 @@
|
|||||||
reload:
|
reload:
|
||||||
|
name: Reload
|
||||||
description: Reload all bayesian entities
|
description: Reload all bayesian entities
|
||||||
|
@ -1,9 +1,20 @@
|
|||||||
set_all_zones:
|
set_all_zones:
|
||||||
|
name: Set all zones
|
||||||
description: Set all Blackbird zones to a single source.
|
description: Set all Blackbird zones to a single source.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
|
name: Entity
|
||||||
description: Name of any blackbird zone.
|
description: Name of any blackbird zone.
|
||||||
|
required: true
|
||||||
example: "media_player.zone_1"
|
example: "media_player.zone_1"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: blackbird
|
||||||
|
domain: media_player
|
||||||
source:
|
source:
|
||||||
|
name: Source
|
||||||
description: Name of source to switch to.
|
description: Name of source to switch to.
|
||||||
|
required: true
|
||||||
example: "Source 1"
|
example: "Source 1"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
@ -1,28 +1,43 @@
|
|||||||
# Describes the format for available Blink services
|
# Describes the format for available Blink services
|
||||||
|
|
||||||
blink_update:
|
blink_update:
|
||||||
|
name: Update
|
||||||
description: Force a refresh.
|
description: Force a refresh.
|
||||||
|
|
||||||
trigger_camera:
|
trigger_camera:
|
||||||
|
name: Trigger camera
|
||||||
description: Request camera to take new image.
|
description: Request camera to take new image.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Name(s) of camera entities to take new image.
|
integration: blink
|
||||||
example: "camera.living_room_camera"
|
domain: camera
|
||||||
|
|
||||||
save_video:
|
save_video:
|
||||||
|
name: Save video
|
||||||
description: Save last recorded video clip to local file.
|
description: Save last recorded video clip to local file.
|
||||||
fields:
|
fields:
|
||||||
name:
|
name:
|
||||||
|
name: Name
|
||||||
description: Name of camera to grab video from.
|
description: Name of camera to grab video from.
|
||||||
|
required: true
|
||||||
example: "Living Room"
|
example: "Living Room"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
filename:
|
filename:
|
||||||
|
name: File name
|
||||||
description: Filename to writable path (directory may need to be included in whitelist_dirs in config)
|
description: Filename to writable path (directory may need to be included in whitelist_dirs in config)
|
||||||
|
required: true
|
||||||
example: "/tmp/video.mp4"
|
example: "/tmp/video.mp4"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
send_pin:
|
send_pin:
|
||||||
|
name: Send pin
|
||||||
description: Send a new PIN to blink for 2FA.
|
description: Send a new PIN to blink for 2FA.
|
||||||
fields:
|
fields:
|
||||||
pin:
|
pin:
|
||||||
|
name: Pin
|
||||||
description: PIN received from blink. Leave empty if you only received a verification email.
|
description: PIN received from blink. Leave empty if you only received a verification email.
|
||||||
example: "abc123"
|
example: "abc123"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
@ -1,30 +1,60 @@
|
|||||||
join:
|
join:
|
||||||
|
name: Join
|
||||||
description: Group player together.
|
description: Group player together.
|
||||||
fields:
|
fields:
|
||||||
master:
|
master:
|
||||||
|
name: Master
|
||||||
description: Entity ID of the player that should become the master of the group.
|
description: Entity ID of the player that should become the master of the group.
|
||||||
|
required: true
|
||||||
example: "media_player.bluesound_livingroom"
|
example: "media_player.bluesound_livingroom"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: bluesound
|
||||||
|
domain: media_player
|
||||||
entity_id:
|
entity_id:
|
||||||
description: Name(s) of entities that will coordinate the grouping. Platform dependent.
|
name: Entity
|
||||||
|
description: Name of entity that will coordinate the grouping. Platform dependent.
|
||||||
example: "media_player.bluesound_livingroom"
|
example: "media_player.bluesound_livingroom"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: bluesound
|
||||||
|
domain: media_player
|
||||||
|
|
||||||
unjoin:
|
unjoin:
|
||||||
|
name: Unjoin
|
||||||
description: Unjoin the player from a group.
|
description: Unjoin the player from a group.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
description: Name(s) of entities that will be unjoined from their group. Platform dependent.
|
name: Entity
|
||||||
|
description: Name of entity that will be unjoined from their group. Platform dependent.
|
||||||
example: "media_player.bluesound_livingroom"
|
example: "media_player.bluesound_livingroom"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: bluesound
|
||||||
|
domain: media_player
|
||||||
|
|
||||||
set_sleep_timer:
|
set_sleep_timer:
|
||||||
|
name: Set sleep timer
|
||||||
description: "Set a Bluesound timer. It will increase timer in steps: 15, 30, 45, 60, 90, 0"
|
description: "Set a Bluesound timer. It will increase timer in steps: 15, 30, 45, 60, 90, 0"
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
|
name: Entity
|
||||||
description: Name(s) of entities that will have a timer set.
|
description: Name(s) of entities that will have a timer set.
|
||||||
example: "media_player.bluesound_livingroom"
|
example: "media_player.bluesound_livingroom"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: bluesound
|
||||||
|
domain: media_player
|
||||||
|
|
||||||
clear_sleep_timer:
|
clear_sleep_timer:
|
||||||
|
name: Clear sleep timer
|
||||||
description: Clear a Bluesound timer.
|
description: Clear a Bluesound timer.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
|
name: Entity
|
||||||
description: Name(s) of entities that will have the timer cleared.
|
description: Name(s) of entities that will have the timer cleared.
|
||||||
example: "media_player.bluesound_livingroom"
|
example: "media_player.bluesound_livingroom"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: bluesound
|
||||||
|
domain: media_player
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
update:
|
update:
|
||||||
|
name: Update
|
||||||
description: Trigger manual tracker update
|
description: Trigger manual tracker update
|
||||||
|
@ -4,26 +4,37 @@
|
|||||||
# component to avoid redundancy.
|
# component to avoid redundancy.
|
||||||
|
|
||||||
light_flash:
|
light_flash:
|
||||||
|
name: Flash lights
|
||||||
description: >
|
description: >
|
||||||
Flash the lights of the vehicle. The vehicle is identified via the vin
|
Flash the lights of the vehicle. The vehicle is identified via the vin
|
||||||
(see below).
|
(see below).
|
||||||
fields:
|
fields:
|
||||||
vin:
|
vin:
|
||||||
|
name: VIN
|
||||||
description: >
|
description: >
|
||||||
The vehicle identification number (VIN) of the vehicle, 17 characters
|
The vehicle identification number (VIN) of the vehicle, 17 characters
|
||||||
|
required: true
|
||||||
example: WBANXXXXXX1234567
|
example: WBANXXXXXX1234567
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
sound_horn:
|
sound_horn:
|
||||||
|
name: Sound horn
|
||||||
description: >
|
description: >
|
||||||
Sound the horn of the vehicle. The vehicle is identified via the vin
|
Sound the horn of the vehicle. The vehicle is identified via the vin
|
||||||
(see below).
|
(see below).
|
||||||
fields:
|
fields:
|
||||||
vin:
|
vin:
|
||||||
|
name: VIN
|
||||||
description: >
|
description: >
|
||||||
The vehicle identification number (VIN) of the vehicle, 17 characters
|
The vehicle identification number (VIN) of the vehicle, 17 characters
|
||||||
|
required: true
|
||||||
example: WBANXXXXXX1234567
|
example: WBANXXXXXX1234567
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
activate_air_conditioning:
|
activate_air_conditioning:
|
||||||
|
name: Activate air conditioning
|
||||||
description: >
|
description: >
|
||||||
Start the air conditioning of the vehicle. What exactly is started here
|
Start the air conditioning of the vehicle. What exactly is started here
|
||||||
depends on the type of vehicle. It might range from just ventilation over
|
depends on the type of vehicle. It might range from just ventilation over
|
||||||
@ -31,21 +42,31 @@ activate_air_conditioning:
|
|||||||
the vin (see below).
|
the vin (see below).
|
||||||
fields:
|
fields:
|
||||||
vin:
|
vin:
|
||||||
|
name: VIN
|
||||||
description: >
|
description: >
|
||||||
The vehicle identification number (VIN) of the vehicle, 17 characters
|
The vehicle identification number (VIN) of the vehicle, 17 characters
|
||||||
|
required: true
|
||||||
example: WBANXXXXXX1234567
|
example: WBANXXXXXX1234567
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
find_vehicle:
|
find_vehicle:
|
||||||
|
name: Find vehicle
|
||||||
description: >
|
description: >
|
||||||
Request vehicle to update the gps location. The vehicle is identified via the vin
|
Request vehicle to update the gps location. The vehicle is identified via the vin
|
||||||
(see below).
|
(see below).
|
||||||
fields:
|
fields:
|
||||||
vin:
|
vin:
|
||||||
|
name: VIN
|
||||||
description: >
|
description: >
|
||||||
The vehicle identification number (VIN) of the vehicle, 17 characters
|
The vehicle identification number (VIN) of the vehicle, 17 characters
|
||||||
|
required: true
|
||||||
example: WBANXXXXXX1234567
|
example: WBANXXXXXX1234567
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
update_state:
|
update_state:
|
||||||
|
name: Update state
|
||||||
description: >
|
description: >
|
||||||
Fetch the last state of the vehicles of all your accounts from the BMW
|
Fetch the last state of the vehicles of all your accounts from the BMW
|
||||||
server. This does *not* trigger an update from the vehicle, it just gets
|
server. This does *not* trigger an update from the vehicle, it just gets
|
||||||
|
@ -1,23 +1,34 @@
|
|||||||
seek_forward:
|
seek_forward:
|
||||||
|
name: Seek forward
|
||||||
description: Seek forward by a set number of seconds.
|
description: Seek forward by a set number of seconds.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Name of entity for the instance of Channels to seek in.
|
integration: channels
|
||||||
example: "media_player.family_room_channels"
|
domain: media_player
|
||||||
|
|
||||||
seek_backward:
|
seek_backward:
|
||||||
|
name: Seek backward
|
||||||
description: Seek backward by a set number of seconds.
|
description: Seek backward by a set number of seconds.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Name of entity for the instance of Channels to seek in.
|
integration: channels
|
||||||
example: "media_player.family_room_channels"
|
domain: media_player
|
||||||
|
|
||||||
seek_by:
|
seek_by:
|
||||||
|
name: Seek by
|
||||||
description: Seek by an inputted number of seconds.
|
description: Seek by an inputted number of seconds.
|
||||||
|
target:
|
||||||
|
entity:
|
||||||
|
integration: channels
|
||||||
|
domain: media_player
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name of entity for the instance of Channels to seek in.
|
|
||||||
example: "media_player.family_room_channels"
|
|
||||||
seconds:
|
seconds:
|
||||||
|
name: Seconds
|
||||||
description: Number of seconds to seek by. Negative numbers seek backwards.
|
description: Number of seconds to seek by. Negative numbers seek backwards.
|
||||||
|
required: true
|
||||||
example: 120
|
example: 120
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: -3600
|
||||||
|
max: 3600
|
||||||
|
unit_of_measurement: seconds
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
# Describes the format for available cloud services
|
# Describes the format for available cloud services
|
||||||
|
|
||||||
remote_connect:
|
remote_connect:
|
||||||
|
name: Remote connect
|
||||||
description: Make instance UI available outside over NabuCasa cloud
|
description: Make instance UI available outside over NabuCasa cloud
|
||||||
|
|
||||||
remote_disconnect:
|
remote_disconnect:
|
||||||
|
name: Remote disconnect
|
||||||
description: Disconnect UI from NabuCasa cloud
|
description: Disconnect UI from NabuCasa cloud
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
update_records:
|
update_records:
|
||||||
|
name: Update records
|
||||||
description: Manually trigger update to Cloudflare records
|
description: Manually trigger update to Cloudflare records
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
reload:
|
reload:
|
||||||
|
name: Reload
|
||||||
description: Reload all command_line entities
|
description: Reload all command_line entities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user