Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zwave_me.switch Namespace Reference

Classes

class  ZWaveMeSwitch
 

Functions

def add_new_device (new_device)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 device_class
 
 DEVICE_NAME = ZWaveMePlatform.SWITCH
 
 key
 

Detailed Description

Representation of a switchBinary.

Function Documentation

◆ add_new_device()

def homeassistant.components.zwave_me.switch.add_new_device (   new_device)
Set up the switch platform.

Definition at line 38 of file switch.py.

◆ async_setup_entry()

None homeassistant.components.zwave_me.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)

Definition at line 30 of file switch.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.zwave_me.switch._LOGGER = logging.getLogger(__name__)
private

Definition at line 19 of file switch.py.

◆ device_class

homeassistant.components.zwave_me.switch.device_class

Definition at line 25 of file switch.py.

◆ DEVICE_NAME

homeassistant.components.zwave_me.switch.DEVICE_NAME = ZWaveMePlatform.SWITCH

Definition at line 20 of file switch.py.

◆ key

homeassistant.components.zwave_me.switch.key

Definition at line 24 of file switch.py.