mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
Update Mochad light and switch component configuration variable (#6680)
* Update Mochad light and switch component configuration variable Update style of Mochad light and switch component documentation to follow new configuration variables description. Related to #6385. * 🚑 Bugfix * ⏪ Undo last change * 🚑 Fix * 🚑 Fix round 2
This commit is contained in:
parent
18dd481a9e
commit
e8cbe07067
@ -26,10 +26,24 @@ light:
|
||||
- address: a5
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **address** (*Required*): The X10 address of the light.
|
||||
- **name** (*Optional*): The name of the light. Default is: x10_light_dev_*address*.
|
||||
- **comm_type** (*Optional*): pl (powerline) or rf (radio frequency). Default is pl.
|
||||
- **brightness_levels** (*Optional*): The number of brightness levels the X10 light device supports. This can either be 32, 64, or 256 (note that the max
|
||||
value sent to the device will be n-1 because it starts at 0)
|
||||
{% configuration %}
|
||||
address:
|
||||
description: The X10 address of the light.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: The name of the light.
|
||||
required: false
|
||||
default: x10_light_dev_address
|
||||
type: string
|
||||
comm_type:
|
||||
description: pl (powerline) or rf (radio frequency).
|
||||
required: false
|
||||
default: pl
|
||||
type: string
|
||||
brightness_levels:
|
||||
description: The number of brightness levels the X10 light device supports. This can either be 32, 64, or 256 (note that the max value sent to the device will be n-1 because it starts at 0).
|
||||
required: false
|
||||
default: 32
|
||||
type: integer
|
||||
{% endconfiguration %}
|
||||
|
@ -27,11 +27,19 @@ switch:
|
||||
- address: a5
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
||||
- **address** (*Required*): The X10 address of the switch.
|
||||
- **name** (*Optional*): The name of the switch. Default is: x10_switch_dev_*address*.
|
||||
- **comm_type** (*Optional*): pl (powerline) or rf (radio frequency). Default is pl.
|
||||
|
||||
|
||||
|
||||
{% configuration %}
|
||||
address:
|
||||
description: The X10 address of the switch.
|
||||
required: true
|
||||
type: string
|
||||
name:
|
||||
description: The name of the switch.
|
||||
required: false
|
||||
default: x10_switch_dev_*address*
|
||||
type: string
|
||||
comm_type:
|
||||
description: pl (powerline) or rf (radio frequency).
|
||||
required: false
|
||||
default: pl
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user