From 378bd8438bac13aa87beab85e041e54c5bce93ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Z=C3=A1hradn=C3=ADk?= Date: Tue, 11 Feb 2020 22:11:02 +0100 Subject: [PATCH] Update Modbus service manifest (#31727) --- homeassistant/components/modbus/services.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/homeassistant/components/modbus/services.yaml b/homeassistant/components/modbus/services.yaml index 2158528814f..8c11209570b 100644 --- a/homeassistant/components/modbus/services.yaml +++ b/homeassistant/components/modbus/services.yaml @@ -4,9 +4,11 @@ write_coil: 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"}