Home Assistant Unofficial Reference 2024.12.1
fan.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mqtt.fan.MqttFan
 

Namespaces

 homeassistant.components.mqtt.fan
 

Functions

None homeassistant.components.mqtt.fan.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
ConfigType homeassistant.components.mqtt.fan.valid_preset_mode_configuration (ConfigType config)
 
ConfigType homeassistant.components.mqtt.fan.valid_speed_range_configuration (ConfigType config)
 

Variables

 homeassistant.components.mqtt.fan._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.mqtt.fan._PLATFORM_SCHEMA_BASE
 
string homeassistant.components.mqtt.fan.CONF_DIRECTION_COMMAND_TEMPLATE = "direction_command_template"
 
string homeassistant.components.mqtt.fan.CONF_DIRECTION_COMMAND_TOPIC = "direction_command_topic"
 
string homeassistant.components.mqtt.fan.CONF_DIRECTION_STATE_TOPIC = "direction_state_topic"
 
string homeassistant.components.mqtt.fan.CONF_DIRECTION_VALUE_TEMPLATE = "direction_value_template"
 
string homeassistant.components.mqtt.fan.CONF_OSCILLATION_COMMAND_TEMPLATE = "oscillation_command_template"
 
string homeassistant.components.mqtt.fan.CONF_OSCILLATION_COMMAND_TOPIC = "oscillation_command_topic"
 
string homeassistant.components.mqtt.fan.CONF_OSCILLATION_STATE_TOPIC = "oscillation_state_topic"
 
string homeassistant.components.mqtt.fan.CONF_OSCILLATION_VALUE_TEMPLATE = "oscillation_value_template"
 
string homeassistant.components.mqtt.fan.CONF_PAYLOAD_OSCILLATION_OFF = "payload_oscillation_off"
 
string homeassistant.components.mqtt.fan.CONF_PAYLOAD_OSCILLATION_ON = "payload_oscillation_on"
 
string homeassistant.components.mqtt.fan.CONF_PAYLOAD_RESET_PERCENTAGE = "payload_reset_percentage"
 
string homeassistant.components.mqtt.fan.CONF_PAYLOAD_RESET_PRESET_MODE = "payload_reset_preset_mode"
 
string homeassistant.components.mqtt.fan.CONF_PERCENTAGE_COMMAND_TEMPLATE = "percentage_command_template"
 
string homeassistant.components.mqtt.fan.CONF_PERCENTAGE_COMMAND_TOPIC = "percentage_command_topic"
 
string homeassistant.components.mqtt.fan.CONF_PERCENTAGE_STATE_TOPIC = "percentage_state_topic"
 
string homeassistant.components.mqtt.fan.CONF_PERCENTAGE_VALUE_TEMPLATE = "percentage_value_template"
 
string homeassistant.components.mqtt.fan.CONF_PRESET_MODE_COMMAND_TEMPLATE = "preset_mode_command_template"
 
string homeassistant.components.mqtt.fan.CONF_PRESET_MODE_COMMAND_TOPIC = "preset_mode_command_topic"
 
string homeassistant.components.mqtt.fan.CONF_PRESET_MODE_STATE_TOPIC = "preset_mode_state_topic"
 
string homeassistant.components.mqtt.fan.CONF_PRESET_MODE_VALUE_TEMPLATE = "preset_mode_value_template"
 
string homeassistant.components.mqtt.fan.CONF_PRESET_MODES_LIST = "preset_modes"
 
string homeassistant.components.mqtt.fan.CONF_SPEED_RANGE_MAX = "speed_range_max"
 
string homeassistant.components.mqtt.fan.CONF_SPEED_RANGE_MIN = "speed_range_min"
 
string homeassistant.components.mqtt.fan.DEFAULT_NAME = "MQTT Fan"
 
string homeassistant.components.mqtt.fan.DEFAULT_PAYLOAD_OFF = "OFF"
 
string homeassistant.components.mqtt.fan.DEFAULT_PAYLOAD_ON = "ON"
 
string homeassistant.components.mqtt.fan.DEFAULT_PAYLOAD_RESET = "None"
 
int homeassistant.components.mqtt.fan.DEFAULT_SPEED_RANGE_MAX = 100
 
int homeassistant.components.mqtt.fan.DEFAULT_SPEED_RANGE_MIN = 1
 
 homeassistant.components.mqtt.fan.DISCOVERY_SCHEMA
 
 homeassistant.components.mqtt.fan.MQTT_FAN_ATTRIBUTES_BLOCKED
 
string homeassistant.components.mqtt.fan.OSCILLATE_OFF_PAYLOAD = "oscillate_off"
 
string homeassistant.components.mqtt.fan.OSCILLATE_ON_PAYLOAD = "oscillate_on"
 
int homeassistant.components.mqtt.fan.PARALLEL_UPDATES = 0
 
 homeassistant.components.mqtt.fan.PLATFORM_SCHEMA_MODERN