Classes | |
| class | TemplateFan |
Functions | |
| def | _async_create_entities (hass, config) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| list | _VALID_DIRECTIONS = [DIRECTION_FORWARD, DIRECTION_REVERSE] |
| string | CONF_DIRECTION_TEMPLATE = "direction_template" |
| string | CONF_FANS = "fans" |
| string | CONF_OFF_ACTION = "turn_off" |
| string | CONF_ON_ACTION = "turn_on" |
| string | CONF_OSCILLATING_TEMPLATE = "oscillating_template" |
| string | CONF_PERCENTAGE_TEMPLATE = "percentage_template" |
| string | CONF_PRESET_MODE_TEMPLATE = "preset_mode_template" |
| string | CONF_PRESET_MODES = "preset_modes" |
| string | CONF_SET_DIRECTION_ACTION = "set_direction" |
| string | CONF_SET_OSCILLATING_ACTION = "set_oscillating" |
| string | CONF_SET_PERCENTAGE_ACTION = "set_percentage" |
| string | CONF_SET_PRESET_MODE_ACTION = "set_preset_mode" |
| string | CONF_SPEED_COUNT = "speed_count" |
| FAN_SCHEMA | |
| PLATFORM_SCHEMA | |
Support for Template fans.
|
private |
| None homeassistant.components.template.fan.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
|
private |
|
private |
| 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 |