Skip to content

Commit 361894b

Browse files
ypollartfabaff
authored andcommitted
Rfxtrx binary sensor and switch update (home-assistant#3785)
* First draft of RFXtrx binary sensor doc page. * Updated rfxtrx binary sensor doc. * binary_sensors.rfxtrx: updated doc according to latest PR changes. * Updated rfxtrx binary sensor documentation * Update binary_sensor.rfxtrx.markdown Tried to clarify the data_bits description. * Updated device_class property. * Updated rfxtrx switch and binary sensor on using automatic_add. * Fixed typo for tamper switch
1 parent 13c0383 commit 361894b

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

source/_components/binary_sensor.rfxtrx.markdown

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ Do not forget to tweak the configuration variables:
4444
- **device_class** (*Optional*): The [type or class of the sensor](/components/binary_sensor/) to set the icon in the frontend.
4545
- **off_delay** (*Optional*): For sensors that only sends 'On' state updates, this variable sets a delay after which the sensor state will be updated back to 'Off'.
4646

47+
<p class='note warning'>
48+
This component and the [rfxtrx switch](/components/switch/rfxtrx/) can steal each other's devices when setting the `automatic_add` configuration parameter to `true`. Set `automatic_add` only when you have some devices to add to your installation, otherwise leave it to `False`.
49+
</p>
4750

4851
Binary sensors have only two states - "on" and "off". Many door or window opening sensors will send a signal each time the door/window is open or closed. However, depending on their hardware or on their purpose, some sensors are only able to signal their "on" state:
4952

@@ -132,5 +135,5 @@ The following devices are known to work with the rfxtrx binary sensor component.
132135
- Chuango PIR-700.
133136

134137
- Door / window sensors:
135-
- Kerui D026 door / window sensor: can trigger on "open" and "close". Has a temper switch.
136-
- Nexa LMST-606 Magnetic contact switch.
138+
- Kerui D026 door / window sensor: can trigger on "open" and "close". Has a tamper switch.
139+
- Nexa LMST-606.

source/_components/switch.rfxtrx.markdown

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ Configuration variables:
5050
- **signal_repetitions** (*Optional*): Because the RFXtrx device sends its actions via radio and from most receivers it's impossible to know if the signal was received or not. Therefore you can configure the switch to try to send each signal repeatedly.
5151
- **fire_event** (*Optional*): Fires an event even if the state is the same as before, for example a doorbell switch. Can also be used for automations.
5252

53+
<p class='note warning'>
54+
This component and the [rfxtrx binary sensor](/components/binary_sensor/rfxtrx/) can steal each other's devices when setting the `automatic_add` configuration parameter to `true`. Set `automatic_add` only when you have some devices to add to your installation, otherwise leave it to `False`.
55+
</p>
56+
57+
5358
Generate codes:
5459

5560
If you need to generate codes for switches you can use a template (useful for example COCO switches).

0 commit comments

Comments
 (0)