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

Classes

class  BAFNumber
 
class  BAFNumberDescription
 

Functions

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

Variables

tuple AUTO_COMFORT_NUMBER_DESCRIPTIONS
 
tuple FAN_NUMBER_DESCRIPTIONS
 
tuple LIGHT_NUMBER_DESCRIPTIONS
 

Detailed Description

Support for Big Ass Fans number.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.baf.number.async_setup_entry ( HomeAssistant  hass,
BAFConfigEntry  entry,
AddEntitiesCallback  async_add_entities 
)
Set up BAF numbers.

Definition at line 116 of file number.py.

Variable Documentation

◆ AUTO_COMFORT_NUMBER_DESCRIPTIONS

tuple homeassistant.components.baf.number.AUTO_COMFORT_NUMBER_DESCRIPTIONS

Definition at line 32 of file number.py.

◆ FAN_NUMBER_DESCRIPTIONS

tuple homeassistant.components.baf.number.FAN_NUMBER_DESCRIPTIONS
Initial value:
1 = (
2  BAFNumberDescription(
3  key="return_to_auto_timeout",
4  translation_key="return_to_auto_timeout",
5  native_step=1,
6  native_min_value=ONE_MIN_SECS,
7  native_max_value=HALF_DAY_SECS,
8  entity_category=EntityCategory.CONFIG,
9  native_unit_of_measurement=UnitOfTime.SECONDS,
10  value_fn=lambda device: cast(int | None, device.return_to_auto_timeout),
11  mode=NumberMode.SLIDER,
12  ),
13  BAFNumberDescription(
14  key="motion_sense_timeout",
15  translation_key="motion_sense_timeout",
16  native_step=1,
17  native_min_value=ONE_MIN_SECS,
18  native_max_value=ONE_DAY_SECS,
19  entity_category=EntityCategory.CONFIG,
20  native_unit_of_measurement=UnitOfTime.SECONDS,
21  value_fn=lambda device: cast(int | None, device.motion_sense_timeout),
22  mode=NumberMode.SLIDER,
23  ),
24 )

Definition at line 65 of file number.py.

◆ LIGHT_NUMBER_DESCRIPTIONS

tuple homeassistant.components.baf.number.LIGHT_NUMBER_DESCRIPTIONS
Initial value:
1 = (
2  BAFNumberDescription(
3  key="light_return_to_auto_timeout",
4  translation_key="light_return_to_auto_timeout",
5  native_step=1,
6  native_min_value=ONE_MIN_SECS,
7  native_max_value=HALF_DAY_SECS,
8  entity_category=EntityCategory.CONFIG,
9  native_unit_of_measurement=UnitOfTime.SECONDS,
10  value_fn=lambda device: cast(int | None, device.light_return_to_auto_timeout),
11  mode=NumberMode.SLIDER,
12  ),
13  BAFNumberDescription(
14  key="light_auto_motion_timeout",
15  translation_key="light_auto_motion_timeout",
16  native_step=1,
17  native_min_value=ONE_MIN_SECS,
18  native_max_value=ONE_DAY_SECS,
19  entity_category=EntityCategory.CONFIG,
20  native_unit_of_measurement=UnitOfTime.SECONDS,
21  value_fn=lambda device: cast(int | None, device.light_auto_motion_timeout),
22  mode=NumberMode.SLIDER,
23  ),
24 )

Definition at line 90 of file number.py.