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

Classes

class  RingSwitch
 
class  RingSwitchEntityDescription
 

Functions

None async_setup_entry (HomeAssistant hass, RingConfigEntry entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary IN_HOME_CHIME_IS_PRESENT = {v for k, v in DOORBELL_EXISTING_TYPE.items() if k != 2}
 

Detailed Description

Component providing HA switch support for Ring Door Bell/Chimes.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.ring.switch.async_setup_entry ( HomeAssistant  hass,
RingConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Create the switches for the Ring devices.

Definition at line 82 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 28 of file switch.py.

◆ IN_HOME_CHIME_IS_PRESENT

dictionary homeassistant.components.ring.switch.IN_HOME_CHIME_IS_PRESENT = {v for k, v in DOORBELL_EXISTING_TYPE.items() if k != 2}

Definition at line 30 of file switch.py.