Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.baf.switch Namespace Reference

Classes

class  BAFSwitch
 
class  BAFSwitchDescription
 

Functions

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

Variables

list AUTO_COMFORT_SWITCHES
 
list BASE_SWITCHES
 
list FAN_SWITCHES
 
list LIGHT_SWITCHES
 

Detailed Description

Support for Big Ass Fans switch.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.baf.switch.async_setup_entry ( HomeAssistant  hass,
BAFConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up BAF fan switches.

Definition at line 103 of file switch.py.

Variable Documentation

◆ AUTO_COMFORT_SWITCHES

list homeassistant.components.baf.switch.AUTO_COMFORT_SWITCHES
Initial value:
1 = [
2  BAFSwitchDescription(
3  key="comfort_heat_assist_enable",
4  translation_key="comfort_heat_assist_enable",
5  entity_category=EntityCategory.CONFIG,
6  value_fn=lambda device: cast(bool | None, device.comfort_heat_assist_enable),
7  ),
8 ]

Definition at line 44 of file switch.py.

◆ BASE_SWITCHES

list homeassistant.components.baf.switch.BASE_SWITCHES
Initial value:
1 = [
2  BAFSwitchDescription(
3  key="legacy_ir_remote_enable",
4  translation_key="legacy_ir_remote_enable",
5  entity_category=EntityCategory.CONFIG,
6  value_fn=lambda device: cast(bool | None, device.legacy_ir_remote_enable),
7  ),
8  BAFSwitchDescription(
9  key="led_indicators_enable",
10  translation_key="led_indicators_enable",
11  entity_category=EntityCategory.CONFIG,
12  value_fn=lambda device: cast(bool | None, device.led_indicators_enable),
13  ),
14 ]

Definition at line 29 of file switch.py.

◆ FAN_SWITCHES

list homeassistant.components.baf.switch.FAN_SWITCHES

Definition at line 53 of file switch.py.

◆ LIGHT_SWITCHES

list homeassistant.components.baf.switch.LIGHT_SWITCHES
Initial value:
1 = [
2  BAFSwitchDescription(
3  key="light_dim_to_warm_enable",
4  translation_key="light_dim_to_warm_enable",
5  entity_category=EntityCategory.CONFIG,
6  value_fn=lambda device: cast(bool | None, device.light_dim_to_warm_enable),
7  ),
8  BAFSwitchDescription(
9  key="light_return_to_auto_enable",
10  translation_key="light_return_to_auto_enable",
11  entity_category=EntityCategory.CONFIG,
12  value_fn=lambda device: cast(bool | None, device.light_return_to_auto_enable),
13  ),
14 ]

Definition at line 87 of file switch.py.