Update Litejet component configuration (#7236)

This commit is contained in:
Klaas Schoute 2018-10-29 23:15:51 +01:00 committed by Fabian Affolter
parent 01f4c5e2f6
commit 17ad45b622

View File

@ -27,11 +27,21 @@ Your LiteJet MCP should be configured for 19.2 K baud, 8 data bits, 1 stop bit,
You can also configure the Home Assistant to ignore lights, scenes, and switches via their name. This is highly recommended since LiteJet has a fixed number of each of these and with most systems many will be unused. You can also configure the Home Assistant to ignore lights, scenes, and switches via their name. This is highly recommended since LiteJet has a fixed number of each of these and with most systems many will be unused.
Configuration variables: {% configuration %}
port:
- **port** (*Required*): The path to the serial port connected to the LiteJet. description: The path to the serial port connected to the LiteJet.
- **exclude_names** (*Optional*): A list of light or switch names that should be ignored. required: true
- **include_switches** (*Optional*): Cause entities to be created for all the LiteJet switches. Default is `false`. This can be useful when debugging your lighting as you can press/release switches remotely. type: string
exclude_names:
description: A list of light or switch names that should be ignored.
required: false
type: [list, string]
include_switches:
description: Cause entities to be created for all the LiteJet switches. This can be useful when debugging your lighting as you can press/release switches remotely.
required: false
default: false
type: boolean
{% endconfiguration %}
```yaml ```yaml
litejet: litejet:
@ -64,5 +74,4 @@ automation:
milliseconds: 1000 milliseconds: 1000
held_less_than: held_less_than:
milliseconds: 2000 milliseconds: 2000
...
``` ```