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

Classes

class  FoobotData
 
class  FoobotSensor
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string ATTR_CARBON_DIOXIDE = "CO2"
 
string ATTR_FOOBOT_INDEX = "index"
 
string ATTR_HUMIDITY = "humidity"
 
string ATTR_PM2_5 = "PM2.5"
 
string ATTR_VOLATILE_ORGANIC_COMPOUNDS = "VOC"
 
int PARALLEL_UPDATES = 1
 
 PLATFORM_SCHEMA
 
 SCAN_INTERVAL = timedelta(minutes=10)
 
int TIMEOUT = 10
 

Detailed Description

Support for the Foobot indoor air quality monitor.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.foobot.sensor.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the devices associated with the account.

Definition at line 94 of file sensor.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 37 of file sensor.py.

◆ ATTR_CARBON_DIOXIDE

string homeassistant.components.foobot.sensor.ATTR_CARBON_DIOXIDE = "CO2"

Definition at line 41 of file sensor.py.

◆ ATTR_FOOBOT_INDEX

string homeassistant.components.foobot.sensor.ATTR_FOOBOT_INDEX = "index"

Definition at line 43 of file sensor.py.

◆ ATTR_HUMIDITY

string homeassistant.components.foobot.sensor.ATTR_HUMIDITY = "humidity"

Definition at line 39 of file sensor.py.

◆ ATTR_PM2_5

string homeassistant.components.foobot.sensor.ATTR_PM2_5 = "PM2.5"

Definition at line 40 of file sensor.py.

◆ ATTR_VOLATILE_ORGANIC_COMPOUNDS

string homeassistant.components.foobot.sensor.ATTR_VOLATILE_ORGANIC_COMPOUNDS = "VOC"

Definition at line 42 of file sensor.py.

◆ PARALLEL_UPDATES

int homeassistant.components.foobot.sensor.PARALLEL_UPDATES = 1

Definition at line 85 of file sensor.py.

◆ PLATFORM_SCHEMA

homeassistant.components.foobot.sensor.PLATFORM_SCHEMA
Initial value:
1 = SENSOR_PLATFORM_SCHEMA.extend(
2  {vol.Required(CONF_TOKEN): cv.string, vol.Required(CONF_USERNAME): cv.string}
3 )

Definition at line 89 of file sensor.py.

◆ SCAN_INTERVAL

homeassistant.components.foobot.sensor.SCAN_INTERVAL = timedelta(minutes=10)

Definition at line 84 of file sensor.py.

◆ TIMEOUT

int homeassistant.components.foobot.sensor.TIMEOUT = 10

Definition at line 87 of file sensor.py.