hass-core/homeassistant/components/modbus/services.yaml
gertdb 3fd6aa0ba9 Fixes Modbus service.yaml validity ()
* Update __init__.py

* Update services.yaml

* Update services.yaml
2019-03-11 08:17:31 -04:00

12 lines
575 B
YAML

write_coil:
description: Write to a modbus coil.
fields:
address: {description: Address of the register to read., example: 0}
state: {description: State to write., example: false}
unit: {description: Address of the modbus unit., example: 21}
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]"}