Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rachio.device.RachioIro Class Reference

Public Member Functions

None __init__ (self, HomeAssistant hass, Rachio rachio, dict[str, Any] data, list[dict[str, Any]] webhooks)
 
str __str__ (self)
 
str controller_id (self)
 
str current_schedule (self)
 
dict|None get_zone (self, zone_id)
 
dict init_data (self)
 
list list_flex_schedules (self)
 
list list_schedules (self)
 
list list_zones (self, include_disabled=False)
 
None pause_watering (self, duration)
 
None resume_watering (self)
 
None setup (self)
 
None stop_watering (self)
 

Public Attributes

 hass
 
 mac_address
 
 model
 
 name
 
 rachio
 
 serial_number
 

Private Member Functions

None _init_webhooks (self)
 

Private Attributes

 _flex_schedules
 
 _id
 
 _init_data
 
 _schedules
 
 _webhooks
 
 _zones
 

Detailed Description

Represent a Rachio Iro.

Definition at line 222 of file device.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.rachio.device.RachioIro.__init__ (   self,
HomeAssistant  hass,
Rachio  rachio,
dict[str, Any]  data,
list[dict[str, Any]]  webhooks 
)
Initialize a Rachio device.

Definition at line 225 of file device.py.

Member Function Documentation

◆ __str__()

str homeassistant.components.rachio.device.RachioIro.__str__ (   self)
Display the controller as a string.

Definition at line 292 of file device.py.

◆ _init_webhooks()

None homeassistant.components.rachio.device.RachioIro._init_webhooks (   self)
private
Start getting updates from the Rachio API.

Definition at line 252 of file device.py.

◆ controller_id()

str homeassistant.components.rachio.device.RachioIro.controller_id (   self)
Return the Rachio API controller ID.

Definition at line 297 of file device.py.

◆ current_schedule()

str homeassistant.components.rachio.device.RachioIro.current_schedule (   self)
Return the schedule that the device is running right now.

Definition at line 302 of file device.py.

◆ get_zone()

dict | None homeassistant.components.rachio.device.RachioIro.get_zone (   self,
  zone_id 
)
Return the zone with the given ID.

Definition at line 320 of file device.py.

◆ init_data()

dict homeassistant.components.rachio.device.RachioIro.init_data (   self)
Return the information used to set up the controller.

Definition at line 307 of file device.py.

◆ list_flex_schedules()

list homeassistant.components.rachio.device.RachioIro.list_flex_schedules (   self)
Return a list of flex schedules.

Definition at line 332 of file device.py.

◆ list_schedules()

list homeassistant.components.rachio.device.RachioIro.list_schedules (   self)
Return a list of fixed schedules.

Definition at line 328 of file device.py.

◆ list_zones()

list homeassistant.components.rachio.device.RachioIro.list_zones (   self,
  include_disabled = False 
)
Return a list of the zone dicts connected to the device.

Definition at line 311 of file device.py.

◆ pause_watering()

None homeassistant.components.rachio.device.RachioIro.pause_watering (   self,
  duration 
)
Pause watering on this controller.

Definition at line 341 of file device.py.

◆ resume_watering()

None homeassistant.components.rachio.device.RachioIro.resume_watering (   self)
Resume paused watering on this controller.

Definition at line 346 of file device.py.

◆ setup()

None homeassistant.components.rachio.device.RachioIro.setup (   self)
Rachio Iro setup for webhooks.

Definition at line 247 of file device.py.

◆ stop_watering()

None homeassistant.components.rachio.device.RachioIro.stop_watering (   self)
Stop watering all zones connected to this controller.

Definition at line 336 of file device.py.

Member Data Documentation

◆ _flex_schedules

homeassistant.components.rachio.device.RachioIro._flex_schedules
private

Definition at line 242 of file device.py.

◆ _id

homeassistant.components.rachio.device.RachioIro._id
private

Definition at line 235 of file device.py.

◆ _init_data

homeassistant.components.rachio.device.RachioIro._init_data
private

Definition at line 243 of file device.py.

◆ _schedules

homeassistant.components.rachio.device.RachioIro._schedules
private

Definition at line 241 of file device.py.

◆ _webhooks

homeassistant.components.rachio.device.RachioIro._webhooks
private

Definition at line 262 of file device.py.

◆ _zones

homeassistant.components.rachio.device.RachioIro._zones
private

Definition at line 240 of file device.py.

◆ hass

homeassistant.components.rachio.device.RachioIro.hass

Definition at line 233 of file device.py.

◆ mac_address

homeassistant.components.rachio.device.RachioIro.mac_address

Definition at line 238 of file device.py.

◆ model

homeassistant.components.rachio.device.RachioIro.model

Definition at line 239 of file device.py.

◆ name

homeassistant.components.rachio.device.RachioIro.name

Definition at line 236 of file device.py.

◆ rachio

homeassistant.components.rachio.device.RachioIro.rachio

Definition at line 234 of file device.py.

◆ serial_number

homeassistant.components.rachio.device.RachioIro.serial_number

Definition at line 237 of file device.py.


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