Home Assistant Unofficial Reference 2024.12.1
switch.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.raincloud.switch.RainCloudSwitch
 

Namespaces

 homeassistant.components.raincloud.switch
 

Functions

None homeassistant.components.raincloud.switch.setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.raincloud.switch._LOGGER = logging.getLogger(__name__)
 
list homeassistant.components.raincloud.switch.ALLOWED_WATERING_TIME = [5, 10, 15, 30, 45, 60]
 
string homeassistant.components.raincloud.switch.CONF_WATERING_TIME = "watering_minutes"
 
int homeassistant.components.raincloud.switch.DEFAULT_WATERING_TIME = 15
 
 homeassistant.components.raincloud.switch.PLATFORM_SCHEMA
 
list homeassistant.components.raincloud.switch.SWITCHES = ["auto_watering", "manual_watering"]