1
mirror of https://github.com/home-assistant/core synced 2024-08-31 05:57:13 +02:00
ha-core/homeassistant/components/modbus/services.yaml
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

31 lines
897 B
YAML

write_coil:
description: Write to a modbus coil.
fields:
address:
description: Address of the register to write to.
example: 0
state:
description: State to write.
example: false
unit:
description: Address of the modbus unit.
example: 21
hub:
description: Optional Modbus hub name. A hub with the name 'default' is used if not specified.
example: "hub1"
write_register:
description: Write to a modbus holding register.
fields:
address:
description: Address of the holding register to write to.
example: 0
unit:
description: Address of the modbus unit.
example: 21
value:
description: Value (single value or array) to write.
example: "0 or [4,0]"
hub:
description: Optional Modbus hub name. A hub with the name 'default' is used if not specified.
example: "hub1"