Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rainmachine.sensor Namespace Reference

Classes

class  ProgramTimeRemainingSensor
 
class  ProvisionSettingsSensor
 
class  RainMachineSensorCompletionTimerDescription
 
class  RainMachineSensorDataDescription
 
class  TimeRemainingSensor
 
class  ZoneTimeRemainingSensor
 

Functions

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

Variables

 DEFAULT_ZONE_COMPLETION_TIME_WOBBLE_TOLERANCE = timedelta(seconds=5)
 
tuple SENSOR_DESCRIPTIONS
 
string TYPE_FLOW_SENSOR_CLICK_M3 = "flow_sensor_clicks_cubic_meter"
 
string TYPE_FLOW_SENSOR_CONSUMED_LITERS = "flow_sensor_consumed_liters"
 
string TYPE_FLOW_SENSOR_LEAK_CLICKS = "flow_sensor_leak_clicks"
 
string TYPE_FLOW_SENSOR_LEAK_VOLUME = "flow_sensor_leak_volume"
 
string TYPE_FLOW_SENSOR_START_INDEX = "flow_sensor_start_index"
 
string TYPE_FLOW_SENSOR_WATERING_CLICKS = "flow_sensor_watering_clicks"
 
string TYPE_LAST_LEAK_DETECTED = "last_leak_detected"
 
string TYPE_PROGRAM_RUN_COMPLETION_TIME = "program_run_completion_time"
 
string TYPE_RAIN_SENSOR_RAIN_START = "rain_sensor_rain_start"
 
string TYPE_ZONE_RUN_COMPLETION_TIME = "zone_run_completion_time"
 

Detailed Description

Support for sensor data from RainMachine.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.rainmachine.sensor.async_setup_entry ( HomeAssistant  hass,
RainMachineConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up RainMachine sensors based on a config entry.

Definition at line 153 of file sensor.py.

Variable Documentation

◆ DEFAULT_ZONE_COMPLETION_TIME_WOBBLE_TOLERANCE

homeassistant.components.rainmachine.sensor.DEFAULT_ZONE_COMPLETION_TIME_WOBBLE_TOLERANCE = timedelta(seconds=5)

Definition at line 34 of file sensor.py.

◆ SENSOR_DESCRIPTIONS

tuple homeassistant.components.rainmachine.sensor.SENSOR_DESCRIPTIONS

Definition at line 66 of file sensor.py.

◆ TYPE_FLOW_SENSOR_CLICK_M3

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_CLICK_M3 = "flow_sensor_clicks_cubic_meter"

Definition at line 36 of file sensor.py.

◆ TYPE_FLOW_SENSOR_CONSUMED_LITERS

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_CONSUMED_LITERS = "flow_sensor_consumed_liters"

Definition at line 37 of file sensor.py.

◆ TYPE_FLOW_SENSOR_LEAK_CLICKS

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_LEAK_CLICKS = "flow_sensor_leak_clicks"

Definition at line 38 of file sensor.py.

◆ TYPE_FLOW_SENSOR_LEAK_VOLUME

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_LEAK_VOLUME = "flow_sensor_leak_volume"

Definition at line 39 of file sensor.py.

◆ TYPE_FLOW_SENSOR_START_INDEX

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_START_INDEX = "flow_sensor_start_index"

Definition at line 40 of file sensor.py.

◆ TYPE_FLOW_SENSOR_WATERING_CLICKS

string homeassistant.components.rainmachine.sensor.TYPE_FLOW_SENSOR_WATERING_CLICKS = "flow_sensor_watering_clicks"

Definition at line 41 of file sensor.py.

◆ TYPE_LAST_LEAK_DETECTED

string homeassistant.components.rainmachine.sensor.TYPE_LAST_LEAK_DETECTED = "last_leak_detected"

Definition at line 42 of file sensor.py.

◆ TYPE_PROGRAM_RUN_COMPLETION_TIME

string homeassistant.components.rainmachine.sensor.TYPE_PROGRAM_RUN_COMPLETION_TIME = "program_run_completion_time"

Definition at line 43 of file sensor.py.

◆ TYPE_RAIN_SENSOR_RAIN_START

string homeassistant.components.rainmachine.sensor.TYPE_RAIN_SENSOR_RAIN_START = "rain_sensor_rain_start"

Definition at line 44 of file sensor.py.

◆ TYPE_ZONE_RUN_COMPLETION_TIME

string homeassistant.components.rainmachine.sensor.TYPE_ZONE_RUN_COMPLETION_TIME = "zone_run_completion_time"

Definition at line 45 of file sensor.py.