Home Assistant Unofficial Reference 2024.12.1
__init__.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.fan.FanEntity
 
class  homeassistant.components.fan.FanEntityDescription
 
class  homeassistant.components.fan.FanEntityFeature
 
class  homeassistant.components.fan.NotValidPresetModeError
 

Namespaces

 homeassistant.components.fan
 

Functions

bool homeassistant.components.fan.async_setup (HomeAssistant hass, ConfigType config)
 
bool homeassistant.components.fan.async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
bool homeassistant.components.fan.async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
bool homeassistant.components.fan.is_on (HomeAssistant hass, str entity_id)
 

Variables

 homeassistant.components.fan.__all__ = all_with_deprecated_constants(globals())
 
 homeassistant.components.fan.__dir__
 
 homeassistant.components.fan.__getattr__ = ft.partial(check_if_deprecated_constant, module_globals=globals())
 
 homeassistant.components.fan._DEPRECATED_SUPPORT_DIRECTION
 
 homeassistant.components.fan._DEPRECATED_SUPPORT_OSCILLATE
 
 homeassistant.components.fan._DEPRECATED_SUPPORT_PRESET_MODE
 
 homeassistant.components.fan._DEPRECATED_SUPPORT_SET_SPEED
 
 homeassistant.components.fan._LOGGER = logging.getLogger(__name__)
 
string homeassistant.components.fan.ATTR_DIRECTION = "direction"
 
string homeassistant.components.fan.ATTR_OSCILLATING = "oscillating"
 
string homeassistant.components.fan.ATTR_PERCENTAGE = "percentage"
 
string homeassistant.components.fan.ATTR_PERCENTAGE_STEP = "percentage_step"
 
string homeassistant.components.fan.ATTR_PRESET_MODE = "preset_mode"
 
string homeassistant.components.fan.ATTR_PRESET_MODES = "preset_modes"
 
dictionary homeassistant.components.fan.CACHED_PROPERTIES_WITH_ATTR_
 
string homeassistant.components.fan.DIRECTION_FORWARD = "forward"
 
string homeassistant.components.fan.DIRECTION_REVERSE = "reverse"
 
string homeassistant.components.fan.DOMAIN = "fan"
 
string homeassistant.components.fan.ENTITY_ID_FORMAT = DOMAIN + ".{}"
 
 homeassistant.components.fan.PLATFORM_SCHEMA = cv.PLATFORM_SCHEMA
 
 homeassistant.components.fan.PLATFORM_SCHEMA_BASE = cv.PLATFORM_SCHEMA_BASE
 
 homeassistant.components.fan.SCAN_INTERVAL = timedelta(seconds=30)
 
string homeassistant.components.fan.SERVICE_DECREASE_SPEED = "decrease_speed"
 
string homeassistant.components.fan.SERVICE_INCREASE_SPEED = "increase_speed"
 
string homeassistant.components.fan.SERVICE_OSCILLATE = "oscillate"
 
string homeassistant.components.fan.SERVICE_SET_DIRECTION = "set_direction"
 
string homeassistant.components.fan.SERVICE_SET_PERCENTAGE = "set_percentage"
 
string homeassistant.components.fan.SERVICE_SET_PRESET_MODE = "set_preset_mode"