Files
home-assistant-core/homeassistant/components/xiaomi_aqara/services.yaml
T
Franck Nijhof 39336d3ea3 Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00

40 lines
1.2 KiB
YAML

add_device:
description:
Enables the join permission of the Xiaomi Aqara Gateway for 30 seconds.
A new device can be added afterwards by pressing the pairing button once.
fields:
gw_mac:
description: MAC address of the Xiaomi Aqara Gateway.
example: 34ce00880088
play_ringtone:
description:
Play a specific ringtone. The version of the gateway firmware must
be 1.4.1_145 at least.
fields:
gw_mac:
description: MAC address of the Xiaomi Aqara Gateway.
example: 34ce00880088
ringtone_id:
description: One of the allowed ringtone ids.
example: 8
ringtone_vol:
description: The volume in percent.
example: 30
remove_device:
description:
Removes a specific device. The removal is required if a device shall
be paired with another gateway.
fields:
device_id:
description: Hardware address of the device to remove.
example: 158d0000000000
gw_mac:
description: MAC address of the Xiaomi Aqara Gateway.
example: 34ce00880088
stop_ringtone:
description: Stops a playing ringtone immediately.
fields:
gw_mac:
description: MAC address of the Xiaomi Aqara Gateway.
example: 34ce00880088