Representation of a deCONZ power plug.
Definition at line 46 of file switch.py.
◆ async_turn_off()
| None homeassistant.components.deconz.switch.DeconzPowerPlug.async_turn_off |
( |
|
self, |
|
|
**Any |
kwargs |
|
) |
| |
Turn off switch.
Definition at line 63 of file switch.py.
◆ async_turn_on()
| None homeassistant.components.deconz.switch.DeconzPowerPlug.async_turn_on |
( |
|
self, |
|
|
**Any |
kwargs |
|
) |
| |
Turn on switch.
Definition at line 56 of file switch.py.
◆ is_on()
| bool homeassistant.components.deconz.switch.DeconzPowerPlug.is_on |
( |
|
self | ) |
|
Return true if switch is on.
Definition at line 52 of file switch.py.
◆ TYPE
| homeassistant.components.deconz.switch.DeconzPowerPlug.TYPE = SWITCH_DOMAIN |
|
static |
The documentation for this class was generated from the following file:
- core/homeassistant/components/deconz/switch.py