You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/switch.rfxtrx.markdown
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ Configuration variables:
47
47
48
48
- **devices** (*Required*): A list of devices with their name to use in the frontend.
49
49
- **automatic_add** (*Optional*): To enable the automatic addition of new switches.
50
-
- **signal_repetitions** (*Optional*): Because the rxftrx 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.
50
+
- **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.
51
51
- **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.
52
52
53
53
Generate codes:
@@ -56,9 +56,11 @@ If you need to generate codes for switches you can use a template (usefull for e
56
56
57
57
- Go to home-assistant-IP:8123/dev-template
58
58
- Use this code to generate a code:
59
+
59
60
```yaml
60
61
{% raw %}0b11000{{ range(0,700) | random | int }}bc0cfe0{{ range(0,10) | random | int }}010f70{% endraw %}
61
62
```
63
+
62
64
- Use this code to add a new switch in your configuration.yaml
63
65
- Launch your homeassistant and go the website.
64
66
- Enable learning mode on your switch (i.e. push learn button or plug it in a wall socket)
0 commit comments