Skip to content

Commit 9325c4a

Browse files
committed
Fix liquid error
1 parent e8f95af commit 9325c4a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/_components/switch.rfxtrx.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Configuration variables:
4747

4848
- **devices** (*Required*): A list of devices with their name to use in the frontend.
4949
- **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.
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

5353
Generate codes:
@@ -56,9 +56,11 @@ If you need to generate codes for switches you can use a template (usefull for e
5656

5757
- Go to home-assistant-IP:8123/dev-template
5858
- Use this code to generate a code:
59+
5960
```yaml
6061
{% raw %}0b11000{{ range(0,700) | random | int }}bc0cfe0{{ range(0,10) | random | int }}010f70{% endraw %}
6162
```
63+
6264
- Use this code to add a new switch in your configuration.yaml
6365
- Launch your homeassistant and go the website.
6466
- Enable learning mode on your switch (i.e. push learn button or plug it in a wall socket)

0 commit comments

Comments
 (0)