Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.bbox.sensor Namespace Reference

Classes

class  BboxData
 
class  BboxSensor
 
class  BboxUptimeSensor
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTRIBUTION = "Powered by Bouygues Telecom"
 
string DEFAULT_NAME = "Bbox"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=60)
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Bbox Bouygues Modem Router.

Function Documentation

◆ setup_platform()

None homeassistant.components.bbox.sensor.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Bbox sensor.

Definition at line 93 of file sensor.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.bbox.sensor._LOGGER = logging.getLogger(__name__)
private

Definition at line 27 of file sensor.py.

◆ ATTRIBUTION

string homeassistant.components.bbox.sensor.ATTRIBUTION = "Powered by Bouygues Telecom"

Definition at line 29 of file sensor.py.

◆ DEFAULT_NAME

string homeassistant.components.bbox.sensor.DEFAULT_NAME = "Bbox"

Definition at line 31 of file sensor.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.bbox.sensor.MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=60)

Definition at line 33 of file sensor.py.

◆ PLATFORM_SCHEMA

homeassistant.components.bbox.sensor.PLATFORM_SCHEMA
Initial value:
1 = SENSOR_PLATFORM_SCHEMA.extend(
2  {
3  vol.Required(CONF_MONITORED_VARIABLES): vol.All(
4  cv.ensure_list, [vol.In(SENSOR_KEYS)]
5  ),
6  vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
7  }
8 )

Definition at line 83 of file sensor.py.