Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.deconz.switch.DeconzPowerPlug Class Reference
Inheritance diagram for homeassistant.components.deconz.switch.DeconzPowerPlug:
[legend]
Collaboration diagram for homeassistant.components.deconz.switch.DeconzPowerPlug:
[legend]

Public Member Functions

None async_turn_off (self, **Any kwargs)
 
None async_turn_on (self, **Any kwargs)
 
bool is_on (self)
 

Static Public Attributes

 TYPE = SWITCH_DOMAIN
 

Detailed Description

Representation of a deCONZ power plug.

Definition at line 46 of file switch.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ TYPE

homeassistant.components.deconz.switch.DeconzPowerPlug.TYPE = SWITCH_DOMAIN
static

Definition at line 49 of file switch.py.


The documentation for this class was generated from the following file: