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

Classes

class  RachioRainDelay
 
class  RachioSchedule
 
class  RachioStandbySwitch
 
class  RachioSwitch
 
class  RachioValve
 
class  RachioZone
 

Functions

list[Entity_create_entities (HomeAssistant hass, ConfigEntry config_entry)
 
None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_DURATION = "duration"
 
string ATTR_PERCENT = "percent"
 
string ATTR_SCHEDULE_DURATION = "Duration"
 
string ATTR_SCHEDULE_ENABLED = "Enabled"
 
string ATTR_SCHEDULE_SUMMARY = "Summary"
 
string ATTR_SCHEDULE_TYPE = "Type"
 
string ATTR_SORT_ORDER = "sortOrder"
 
string ATTR_WATERING_DURATION = "Watering Duration seconds"
 
string ATTR_ZONE_NUMBER = "Zone number"
 
string ATTR_ZONE_SHADE = "Shade"
 
string ATTR_ZONE_SLOPE = "Slope"
 
string ATTR_ZONE_SUMMARY = "Summary"
 
string ATTR_ZONE_TYPE = "Type"
 
 START_MULTIPLE_ZONES_SCHEMA
 

Detailed Description

Integration with the Rachio Iro sprinkler system controller.

Function Documentation

◆ _create_entities()

list[Entity] homeassistant.components.rachio.switch._create_entities ( HomeAssistant  hass,
ConfigEntry  config_entry 
)
private

Definition at line 178 of file switch.py.

◆ async_setup_entry()

None homeassistant.components.rachio.switch.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Rachio switches.

Definition at line 102 of file switch.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 78 of file switch.py.

◆ ATTR_DURATION

string homeassistant.components.rachio.switch.ATTR_DURATION = "duration"

Definition at line 80 of file switch.py.

◆ ATTR_PERCENT

string homeassistant.components.rachio.switch.ATTR_PERCENT = "percent"

Definition at line 81 of file switch.py.

◆ ATTR_SCHEDULE_DURATION

string homeassistant.components.rachio.switch.ATTR_SCHEDULE_DURATION = "Duration"

Definition at line 84 of file switch.py.

◆ ATTR_SCHEDULE_ENABLED

string homeassistant.components.rachio.switch.ATTR_SCHEDULE_ENABLED = "Enabled"

Definition at line 83 of file switch.py.

◆ ATTR_SCHEDULE_SUMMARY

string homeassistant.components.rachio.switch.ATTR_SCHEDULE_SUMMARY = "Summary"

Definition at line 82 of file switch.py.

◆ ATTR_SCHEDULE_TYPE

string homeassistant.components.rachio.switch.ATTR_SCHEDULE_TYPE = "Type"

Definition at line 85 of file switch.py.

◆ ATTR_SORT_ORDER

string homeassistant.components.rachio.switch.ATTR_SORT_ORDER = "sortOrder"

Definition at line 86 of file switch.py.

◆ ATTR_WATERING_DURATION

string homeassistant.components.rachio.switch.ATTR_WATERING_DURATION = "Watering Duration seconds"

Definition at line 87 of file switch.py.

◆ ATTR_ZONE_NUMBER

string homeassistant.components.rachio.switch.ATTR_ZONE_NUMBER = "Zone number"

Definition at line 88 of file switch.py.

◆ ATTR_ZONE_SHADE

string homeassistant.components.rachio.switch.ATTR_ZONE_SHADE = "Shade"

Definition at line 89 of file switch.py.

◆ ATTR_ZONE_SLOPE

string homeassistant.components.rachio.switch.ATTR_ZONE_SLOPE = "Slope"

Definition at line 90 of file switch.py.

◆ ATTR_ZONE_SUMMARY

string homeassistant.components.rachio.switch.ATTR_ZONE_SUMMARY = "Summary"

Definition at line 91 of file switch.py.

◆ ATTR_ZONE_TYPE

string homeassistant.components.rachio.switch.ATTR_ZONE_TYPE = "Type"

Definition at line 92 of file switch.py.

◆ START_MULTIPLE_ZONES_SCHEMA

homeassistant.components.rachio.switch.START_MULTIPLE_ZONES_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(ATTR_ENTITY_ID): cv.entity_ids,
4  vol.Required(ATTR_DURATION): cv.ensure_list_csv,
5  }
6 )

Definition at line 94 of file switch.py.