Document IHC on_in and off_id (#8218)

* Document on_in and off_id

* Space fix

* Also add on_id and off_id to switch
This commit is contained in:
msvinth 2019-03-01 08:22:03 +01:00 committed by Martin Hjelmare
parent aae5a60b91
commit 055b3c3a02
2 changed files with 16 additions and 0 deletions

View File

@ -57,6 +57,14 @@ light:
description: The IHC resource id.
required: true
type: integer
on_id:
description: Optional IHC resource id that will be pulsed to turn ON this light.
required: false
type: integer
off_id:
description: Optional IHC resource id that will be pulsed to turn OFF this light.
required: false
type: integer
name:
description: The name of the component
required: false

View File

@ -50,6 +50,14 @@ switch:
description: The IHC resource id.
required: true
type: integer
on_id:
description: Optional IHC resource id that will be pulsed to turn ON this switch.
required: false
type: integer
off_id:
description: Optional IHC resource id that will be pulsed to turn OFF this switch.
required: false
type: integer
name:
description: The name of the component
required: false