mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Add selectors to Home Assistant service definitions (#46733)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
782863ca87
commit
01ebb156a0
@ -1,49 +1,49 @@
|
|||||||
check_config:
|
check_config:
|
||||||
description: Check the Home Assistant configuration files for errors. Errors will be displayed in the Home Assistant log.
|
description:
|
||||||
|
Check the Home Assistant configuration files for errors. Errors will be
|
||||||
|
displayed in the Home Assistant log
|
||||||
|
|
||||||
reload_core_config:
|
reload_core_config:
|
||||||
description: Reload the core configuration.
|
description: Reload the core configuration
|
||||||
|
|
||||||
restart:
|
restart:
|
||||||
description: Restart the Home Assistant service.
|
description: Restart the Home Assistant service
|
||||||
|
|
||||||
set_location:
|
set_location:
|
||||||
description: Update the Home Assistant location.
|
description: Update the Home Assistant location
|
||||||
fields:
|
fields:
|
||||||
latitude:
|
latitude:
|
||||||
description: Latitude of your location
|
name: Latitude
|
||||||
|
description: Latitude of your location.
|
||||||
|
required: true
|
||||||
example: 32.87336
|
example: 32.87336
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
longitude:
|
longitude:
|
||||||
description: Longitude of your location
|
name: Longitude
|
||||||
|
description: Longitude of your location.
|
||||||
|
required: true
|
||||||
example: 117.22743
|
example: 117.22743
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
stop:
|
stop:
|
||||||
description: Stop the Home Assistant service.
|
description: Stop the Home Assistant service.
|
||||||
|
|
||||||
toggle:
|
toggle:
|
||||||
description: Generic service to toggle devices on/off under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
description: Generic service to toggle devices on/off under any domain
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity: {}
|
||||||
description: The entity_id of the device to toggle on/off.
|
|
||||||
example: light.living_room
|
|
||||||
|
|
||||||
turn_on:
|
turn_on:
|
||||||
description: Generic service to turn devices on under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
description: Generic service to turn devices on under any domain.
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity: {}
|
||||||
description: The entity_id of the device to turn on.
|
|
||||||
example: light.living_room
|
|
||||||
|
|
||||||
turn_off:
|
turn_off:
|
||||||
description: Generic service to turn devices off under any domain. Same usage as the light.turn_on, switch.turn_on, etc. services.
|
description: Generic service to turn devices off under any domain.
|
||||||
fields:
|
|
||||||
entity_id:
|
|
||||||
description: The entity_id of the device to turn off.
|
|
||||||
example: light.living_room
|
|
||||||
|
|
||||||
update_entity:
|
update_entity:
|
||||||
description: Force one or more entities to update its data
|
description: Force one or more entities to update its data
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
entity: {}
|
||||||
description: One or multiple entity_ids to update. Can be a list.
|
|
||||||
example: light.living_room
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user