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

Classes

class  NetatmoFan
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
 Final
 
dictionary PRESET_MAPPING = {"slow": 1, "fast": 2}
 
dictionary PRESETS = {v: k for k, v in PRESET_MAPPING.items()}
 

Detailed Description

Support for Netatmo/Bubendorff fans.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.netatmo.fan.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up the Netatmo fan platform.

Definition at line 28 of file fan.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.netatmo.fan._LOGGER = logging.getLogger(__name__)
private

Definition at line 20 of file fan.py.

◆ Final

homeassistant.components.netatmo.fan.Final

Definition at line 22 of file fan.py.

◆ PRESET_MAPPING

dictionary homeassistant.components.netatmo.fan.PRESET_MAPPING = {"slow": 1, "fast": 2}

Definition at line 24 of file fan.py.

◆ PRESETS

dictionary homeassistant.components.netatmo.fan.PRESETS = {v: k for k, v in PRESET_MAPPING.items()}

Definition at line 25 of file fan.py.