mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 09:46:59 +00:00
Setting proper variables for specific protocols. (#1290)
For some PiLight protocols there are different parameters used and therefore the variables have to be replaced in order to have the pilight_switch component working with HASS.
This commit is contained in:
parent
485cc65c63
commit
5a09bd504d
@ -55,7 +55,7 @@ Variables for the different codes:
|
||||
- **'off'** (*Optional*): `1` or `0`
|
||||
- **'on'** (*Optional*): `1` or `0`
|
||||
|
||||
For possible code entries look at the [pilight API](https://www.pilight.org/development/api/). All commands allowed by [pilight-send](https://wiki.pilight.org/doku.php/psend) can be used.
|
||||
For possible code entries look at the [pilight API](https://www.pilight.org/development/api/). All commands allowed by [pilight-send](https://wiki.pilight.org/doku.php/psend) can be used. Which means that if for a certain protocol there are different parameters used, you should be able to replace the variables above by the proper ones required by the specific protocol. When using the `elro_800_switch` or `mumbi` protocol for example, you will have to replace the variable `unit` with `unitcode` or there will be errors occuring.
|
||||
|
||||
|
||||
## {% linkable_title Examples %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user