mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
New Qwikswitch sensors (#5128)
New config according to: home-assistant/pull/13622
This commit is contained in:
parent
0691f3253d
commit
85be6ed99c
@ -60,13 +60,32 @@ On some QS Mobile servers button events are only generated for switches added to
|
|||||||
|
|
||||||
### {% linkable_title Qwikswitch Sensors %}
|
### {% linkable_title Qwikswitch Sensors %}
|
||||||
|
|
||||||
Some Qwikswith devices might support more than one channel per device (i.e. ipmod). The channel can be specified by appending a number to the QS_id. Example sensors configuration:
|
The sensor configuration is a list of sensors. Each sensor is configured with the following parameters:
|
||||||
|
|
||||||
|
- **name** (*Required*): The sensor name from which the entity_id will be derived.
|
||||||
|
- **id** (*Required*): A QS_Id
|
||||||
|
- **type** (*Required*): The Qwikswitch sensor type. These could include:
|
||||||
|
- imod (up to 6 channels)
|
||||||
|
- door (single channel)
|
||||||
|
- qwikcord (Channel1 = CTavg, Channel 2 = CTsum)
|
||||||
|
- **channel** (*Optional, default=1*): The channel of interest. Refer to type above.
|
||||||
|
|
||||||
|
|
||||||
|
Example sensor configuration:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
qwikswitch:
|
qwikswitch:
|
||||||
...
|
...
|
||||||
sensors:
|
sensors:
|
||||||
door_sensor: '@0dev01'
|
- name: door sensor
|
||||||
door2_sensor: '@0dev02.1'
|
id: "@id03"
|
||||||
door3_sensor: '@0dev02.2'
|
type: door
|
||||||
|
- name: Imod 1 sensor
|
||||||
|
id: "@id02"
|
||||||
|
channel: 1
|
||||||
|
type: imod
|
||||||
|
- name: Imod 2 sensor
|
||||||
|
id: "@id02"
|
||||||
|
channel: 2
|
||||||
|
type: imod
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user