Add selectors to Netatmo services (#46574)

* Add selectors

* Fix schedul selector

* Update homeassistant/components/netatmo/services.yaml

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update homeassistant/components/netatmo/services.yaml

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Update services.yaml

* Added required field

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Tobias Sauerwein 2021-02-18 15:01:54 +01:00 committed by GitHub
parent 12477c5e46
commit bfa171f802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,43 +1,63 @@
# Describes the format for available Netatmo services
set_camera_light:
description: Set the camera light mode.
description: Set the camera light mode
target:
entity:
integration: netatmo
domain: light
fields:
camera_light_mode:
name: Camera light mode
description: Outdoor camera light mode (on/off/auto)
example: auto
entity_id:
description: Entity id of the camera.
example: camera.netatmo_entrance
required: true
selector:
select:
options:
- "on"
- "off"
- "auto"
set_schedule:
description: Set the heating schedule.
description: Set the heating schedule
target:
entity:
integration: netatmo
domain: climate
fields:
schedule_name:
description: Schedule name
example: Standard
entity_id:
description: Entity id of the climate device.
example: climate.netatmo_livingroom
required: true
selector:
text:
set_persons_home:
description: Set a list of persons as at home. Person's name must match a name known by the Welcome Camera.
description: Set a list of persons as at home. Person's name must match a name known by the Welcome Camera
target:
entity:
integration: netatmo
domain: camera
fields:
persons:
description: List of names
example: Bob
entity_id:
description: Entity id of the camera.
example: camera.netatmo_entrance
required: true
selector:
text:
set_person_away:
description: Set a person away. If no person is set the home will be marked as empty. Person's name must match a name known by the Welcome Camera.
description: Set a person away. If no person is set the home will be marked as empty. Person's name must match a name known by the Welcome Camera
target:
entity:
integration: netatmo
domain: camera
fields:
person:
description: Person's name (optional)
example: Bob
entity_id:
description: Entity id of the camera.
example: camera.netatmo_entrance
selector:
text:
register_webhook:
description: Register webhook