Definition at line 163 of file entity.py.
◆ __init__()
| def homeassistant.components.pilight.entity._ReceiveHandle.__init__ |
( |
|
self, |
|
|
|
config, |
|
|
|
echo |
|
) |
| |
Initialize the handle.
Definition at line 164 of file entity.py.
◆ match()
| def homeassistant.components.pilight.entity._ReceiveHandle.match |
( |
|
self, |
|
|
|
code |
|
) |
| |
Test if the received code matches the configured values.
The received values have to be a subset of the configured options.
Definition at line 169 of file entity.py.
◆ run()
| def homeassistant.components.pilight.entity._ReceiveHandle.run |
( |
|
self, |
|
|
|
switch, |
|
|
|
turn_on |
|
) |
| |
Change the state of the switch.
Definition at line 176 of file entity.py.
◆ config_items
| homeassistant.components.pilight.entity._ReceiveHandle.config_items |
◆ echo
| homeassistant.components.pilight.entity._ReceiveHandle.echo |
The documentation for this class was generated from the following file:
- core/homeassistant/components/pilight/entity.py