Add targets and selectors for services (F) (#50191)
This commit is contained in:
parent
e6b4b803e3
commit
9e0730c97f
9 changed files with 144 additions and 35 deletions
|
@ -1,12 +1,26 @@
|
||||||
teach_face:
|
teach_face:
|
||||||
|
name: Teach face
|
||||||
description: Teach facebox a face using a file.
|
description: Teach facebox a face using a file.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
|
name: Entity
|
||||||
description: The facebox entity to teach.
|
description: The facebox entity to teach.
|
||||||
example: "image_processing.facebox"
|
example: "image_processing.facebox"
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: facebox
|
||||||
|
domain: image_processing
|
||||||
name:
|
name:
|
||||||
|
name: Name
|
||||||
description: The name of the face to teach.
|
description: The name of the face to teach.
|
||||||
|
required: true
|
||||||
example: "my_name"
|
example: "my_name"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
file_path:
|
file_path:
|
||||||
|
name: File path
|
||||||
description: The path to the image file.
|
description: The path to the image file.
|
||||||
|
required: true
|
||||||
example: "/images/my_image.jpg"
|
example: "/images/my_image.jpg"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
speedtest:
|
speedtest:
|
||||||
|
name: Speed test
|
||||||
description: Immediately execute a speed test with Fast.com
|
description: Immediately execute a speed test with Fast.com
|
||||||
|
|
|
@ -1,18 +1,36 @@
|
||||||
restart:
|
restart:
|
||||||
|
name: Restart
|
||||||
description: Send a restart command to a ffmpeg based sensor.
|
description: Send a restart command to a ffmpeg based sensor.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
description: Name(s) of entities that will restart. Platform dependent.
|
name: Entity
|
||||||
|
description: Name of entity that will restart. Platform dependent.
|
||||||
example: binary_sensor.ffmpeg_noise
|
example: binary_sensor.ffmpeg_noise
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: ffmpeg
|
||||||
|
domain: binary_sensor
|
||||||
start:
|
start:
|
||||||
|
name: Start
|
||||||
description: Send a start command to a ffmpeg based sensor.
|
description: Send a start command to a ffmpeg based sensor.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
description: Name(s) of entities that will start. Platform dependent.
|
name: Entity
|
||||||
|
description: Name of entity that will start. Platform dependent.
|
||||||
example: binary_sensor.ffmpeg_noise
|
example: binary_sensor.ffmpeg_noise
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: ffmpeg
|
||||||
|
domain: binary_sensor
|
||||||
stop:
|
stop:
|
||||||
|
name: Stop
|
||||||
description: Send a stop command to a ffmpeg based sensor.
|
description: Send a stop command to a ffmpeg based sensor.
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
entity_id:
|
||||||
description: Name(s) of entities that will stop. Platform dependent.
|
name: Entity
|
||||||
|
description: Name of entity that will stop. Platform dependent.
|
||||||
example: binary_sensor.ffmpeg_noise
|
example: binary_sensor.ffmpeg_noise
|
||||||
|
selector:
|
||||||
|
entity:
|
||||||
|
integration: ffmpeg
|
||||||
|
domain: binary_sensor
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
reload:
|
reload:
|
||||||
|
name: Reload
|
||||||
description: Reload all filesize entities.
|
description: Reload all filesize entities.
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
reload:
|
reload:
|
||||||
|
name: Reload
|
||||||
description: Reload all filter entities
|
description: Reload all filter entities
|
||||||
|
|
|
@ -1,32 +1,52 @@
|
||||||
# Describes the format for available Flo services
|
# Describes the format for available Flo services
|
||||||
|
|
||||||
set_sleep_mode:
|
set_sleep_mode:
|
||||||
|
name: Set sleep mode
|
||||||
description: Set the location into sleep mode.
|
description: Set the location into sleep mode.
|
||||||
|
target:
|
||||||
|
entity:
|
||||||
|
integration: flo
|
||||||
|
domain: switch
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Flo switch entity id
|
|
||||||
example: "switch.shutoff_valve"
|
|
||||||
sleep_minutes:
|
sleep_minutes:
|
||||||
|
name: Sleep minutes
|
||||||
description: The time to sleep in minutes.
|
description: The time to sleep in minutes.
|
||||||
|
default: true
|
||||||
example: 120
|
example: 120
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- '120'
|
||||||
|
- '1440'
|
||||||
|
- '4320'
|
||||||
revert_to_mode:
|
revert_to_mode:
|
||||||
|
name: Revert to mode
|
||||||
description: The mode to revert to after sleep_minutes has elapsed.
|
description: The mode to revert to after sleep_minutes has elapsed.
|
||||||
|
default: true
|
||||||
example: "home"
|
example: "home"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- 'away'
|
||||||
|
- 'home'
|
||||||
set_away_mode:
|
set_away_mode:
|
||||||
|
name: Set away mode
|
||||||
description: Set the location into away mode.
|
description: Set the location into away mode.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Flo switch entity id
|
integration: flo
|
||||||
example: "switch.shutoff_valve"
|
domain: switch
|
||||||
set_home_mode:
|
set_home_mode:
|
||||||
|
name: Set home mode
|
||||||
description: Set the location into home mode.
|
description: Set the location into home mode.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Flo switch entity id
|
integration: flo
|
||||||
example: "switch.shutoff_valve"
|
domain: switch
|
||||||
run_health_test:
|
run_health_test:
|
||||||
|
name: Run health test
|
||||||
description: Have the Flo device run a health test.
|
description: Have the Flo device run a health test.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity:
|
||||||
description: Flo switch entity id
|
integration: flo
|
||||||
example: "switch.shutoff_valve"
|
domain: switch
|
||||||
|
|
|
@ -1,22 +1,48 @@
|
||||||
ptz:
|
ptz:
|
||||||
|
name: PTZ
|
||||||
description: Pan/Tilt service for Foscam camera.
|
description: Pan/Tilt service for Foscam camera.
|
||||||
|
target:
|
||||||
|
entity:
|
||||||
|
integration: foscam
|
||||||
|
domain: camera
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to move.
|
|
||||||
example: "camera.living_room_camera"
|
|
||||||
movement:
|
movement:
|
||||||
description: "Direction of the movement. Allowed values: up, down, left, right, top_left, top_right, bottom_left, bottom_right."
|
description: "Direction of the movement."
|
||||||
|
required: true
|
||||||
example: "up"
|
example: "up"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- 'bottom_left'
|
||||||
|
- 'bottom_right'
|
||||||
|
- 'down'
|
||||||
|
- 'left'
|
||||||
|
- 'right'
|
||||||
|
- 'top_left'
|
||||||
|
- 'top_right'
|
||||||
|
- 'up'
|
||||||
travel_time:
|
travel_time:
|
||||||
description: "(Optional) Travel time in seconds. Allowed values: float from 0 to 1. Default: 0.125"
|
description: "Travel time in seconds."
|
||||||
example: 0.125
|
example: 0.125
|
||||||
|
default: 0.125
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 1
|
||||||
|
step: 0.005
|
||||||
|
unit_of_measurement: seconds
|
||||||
|
|
||||||
ptz_preset:
|
ptz_preset:
|
||||||
|
name: PTZ preset
|
||||||
description: PTZ Preset service for Foscam camera.
|
description: PTZ Preset service for Foscam camera.
|
||||||
|
target:
|
||||||
|
entity:
|
||||||
|
integration: foscam
|
||||||
|
domain: camera
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to move.
|
|
||||||
example: "camera.living_room_camera"
|
|
||||||
preset_name:
|
preset_name:
|
||||||
description: "The name of the preset to move to. Presets can be created from within the official Foscam apps."
|
description: "The name of the preset to move to. Presets can be created from within the official Foscam apps."
|
||||||
|
required: true
|
||||||
example: "TopMost"
|
example: "TopMost"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
|
@ -1,33 +1,52 @@
|
||||||
checkin:
|
checkin:
|
||||||
|
name: Check in
|
||||||
description: Check a user into a Foursquare venue.
|
description: Check a user into a Foursquare venue.
|
||||||
fields:
|
fields:
|
||||||
alt:
|
alt:
|
||||||
description: Altitude of the user's location, in meters. [Optional]
|
name: Altitude
|
||||||
|
description: Altitude of the user's location, in meters.
|
||||||
example: 0
|
example: 0
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
altAcc:
|
altAcc:
|
||||||
|
name: Altitude accuracy
|
||||||
description: Vertical accuracy of the user's location, in meters.
|
description: Vertical accuracy of the user's location, in meters.
|
||||||
example: 1
|
example: 1
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
broadcast:
|
broadcast:
|
||||||
|
name: Broadcast
|
||||||
description: >-
|
description: >-
|
||||||
Who to broadcast this check-in to. Accepts a comma-delimited
|
Who to broadcast this check-in to. Accepts a comma-delimited
|
||||||
list of values: private (off the grid) or public (share with friends), facebook
|
list of values: private (off the grid) or public (share with friends), facebook
|
||||||
share on facebook, twitter share on twitter, followers share with followers
|
share on facebook, twitter share on twitter, followers share with followers
|
||||||
(celebrity mode users only), If no valid value is found, the default is public.
|
(celebrity mode users only), If no valid value is found, the default is public.
|
||||||
[Optional]
|
|
||||||
example: "public,twitter"
|
example: "public,twitter"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
eventId:
|
eventId:
|
||||||
description: The event the user is checking in to. [Optional]
|
name: Event ID
|
||||||
|
description: The event the user is checking in to.
|
||||||
example: UHR8THISVNT
|
example: UHR8THISVNT
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
ll:
|
ll:
|
||||||
|
name: Latitude/Longitude
|
||||||
description: >-
|
description: >-
|
||||||
Latitude and longitude of the user's location. Only specify
|
Latitude and longitude of the user's location. Only specify
|
||||||
this field if you have a GPS or other device reported location for the user
|
this field if you have a GPS or other device reported location for the user
|
||||||
at the time of check-in. [Optional]
|
at the time of check-in.
|
||||||
example: "33.7,44.2"
|
example: "33.7,44.2"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
llAcc:
|
llAcc:
|
||||||
description: Accuracy of the user's latitude and longitude, in meters. [Optional]
|
name: Latitude/Longitude accuracy
|
||||||
|
description: Accuracy of the user's latitude and longitude, in meters.
|
||||||
example: 1
|
example: 1
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
mentions:
|
mentions:
|
||||||
|
name: Mentions
|
||||||
description: >-
|
description: >-
|
||||||
Mentions in your check-in. This parameter is a semicolon-delimited
|
Mentions in your check-in. This parameter is a semicolon-delimited
|
||||||
list of mentions. A single mention is of the form "start,end,userid", where
|
list of mentions. A single mention is of the form "start,end,userid", where
|
||||||
|
@ -37,9 +56,18 @@ checkin:
|
||||||
"fbu-", this indicates a Facebook userid that is being mention. Character
|
"fbu-", this indicates a Facebook userid that is being mention. Character
|
||||||
indices in shouts are 0-based. [Optional]
|
indices in shouts are 0-based. [Optional]
|
||||||
example: "5,10,HZXXY3Y;15,20,GZYYZ3Z;25,30,fbu-GZXY13Y"
|
example: "5,10,HZXXY3Y;15,20,GZYYZ3Z;25,30,fbu-GZXY13Y"
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
shout:
|
shout:
|
||||||
description: A message about your check-in. The maximum length of this field is 140 characters. [Optional]
|
name: Shout
|
||||||
|
description: A message about your check-in. The maximum length of this field is 140 characters.
|
||||||
example: There are crayons! Crayons!
|
example: There are crayons! Crayons!
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
venueId:
|
venueId:
|
||||||
description: The Foursquare venue where the user is checking in. [Required]
|
name: Venue ID
|
||||||
|
description: The Foursquare venue where the user is checking in.
|
||||||
|
required: true
|
||||||
example: IHR8THISVNU
|
example: IHR8THISVNU
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Freebox service entries description.
|
# Freebox service entries description.
|
||||||
|
|
||||||
reboot:
|
reboot:
|
||||||
# Description of the service
|
name: Reboot
|
||||||
description: Reboots the Freebox.
|
description: Reboots the Freebox.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue