Home Assistant Unofficial Reference 2024.12.1
fan.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.template.fan.TemplateFan
 

Namespaces

 homeassistant.components.template.fan
 

Functions

def homeassistant.components.template.fan._async_create_entities (hass, config)
 
None homeassistant.components.template.fan.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 homeassistant.components.template.fan._LOGGER = logging.getLogger(__name__)
 
list homeassistant.components.template.fan._VALID_DIRECTIONS = [DIRECTION_FORWARD, DIRECTION_REVERSE]
 
string homeassistant.components.template.fan.CONF_DIRECTION_TEMPLATE = "direction_template"
 
string homeassistant.components.template.fan.CONF_FANS = "fans"
 
string homeassistant.components.template.fan.CONF_OFF_ACTION = "turn_off"
 
string homeassistant.components.template.fan.CONF_ON_ACTION = "turn_on"
 
string homeassistant.components.template.fan.CONF_OSCILLATING_TEMPLATE = "oscillating_template"
 
string homeassistant.components.template.fan.CONF_PERCENTAGE_TEMPLATE = "percentage_template"
 
string homeassistant.components.template.fan.CONF_PRESET_MODE_TEMPLATE = "preset_mode_template"
 
string homeassistant.components.template.fan.CONF_PRESET_MODES = "preset_modes"
 
string homeassistant.components.template.fan.CONF_SET_DIRECTION_ACTION = "set_direction"
 
string homeassistant.components.template.fan.CONF_SET_OSCILLATING_ACTION = "set_oscillating"
 
string homeassistant.components.template.fan.CONF_SET_PERCENTAGE_ACTION = "set_percentage"
 
string homeassistant.components.template.fan.CONF_SET_PRESET_MODE_ACTION = "set_preset_mode"
 
string homeassistant.components.template.fan.CONF_SPEED_COUNT = "speed_count"
 
 homeassistant.components.template.fan.FAN_SCHEMA
 
 homeassistant.components.template.fan.PLATFORM_SCHEMA