Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.tasmota.fan Namespace Reference

Classes

class  TasmotaFan
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

list ORDERED_NAMED_FAN_SPEEDS
 

Detailed Description

Support for Tasmota fans.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.tasmota.fan.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up Tasmota fan dynamically through discovery.

Definition at line 36 of file fan.py.

Variable Documentation

◆ ORDERED_NAMED_FAN_SPEEDS

list homeassistant.components.tasmota.fan.ORDERED_NAMED_FAN_SPEEDS
Initial value:
1 = [
2  tasmota_const.FAN_SPEED_LOW,
3  tasmota_const.FAN_SPEED_MEDIUM,
4  tasmota_const.FAN_SPEED_HIGH,
5 ]

Definition at line 29 of file fan.py.