Home Assistant Unofficial Reference 2024.12.1
sensor.py File Reference

Go to the source code of this file.

Classes

class  homeassistant.components.mqtt.sensor.MqttSensor
 

Namespaces

 homeassistant.components.mqtt.sensor
 

Functions

None homeassistant.components.mqtt.sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 
ConfigType homeassistant.components.mqtt.sensor.validate_sensor_state_and_device_class_config (ConfigType config)
 

Variables

 homeassistant.components.mqtt.sensor._LOGGER = logging.getLogger(__name__)
 
 homeassistant.components.mqtt.sensor._PLATFORM_SCHEMA_BASE
 
string homeassistant.components.mqtt.sensor.CONF_EXPIRE_AFTER = "expire_after"
 
string homeassistant.components.mqtt.sensor.CONF_LAST_RESET_VALUE_TEMPLATE = "last_reset_value_template"
 
string homeassistant.components.mqtt.sensor.CONF_SUGGESTED_DISPLAY_PRECISION = "suggested_display_precision"
 
bool homeassistant.components.mqtt.sensor.DEFAULT_FORCE_UPDATE = False
 
string homeassistant.components.mqtt.sensor.DEFAULT_NAME = "MQTT Sensor"
 
 homeassistant.components.mqtt.sensor.DISCOVERY_SCHEMA
 
 homeassistant.components.mqtt.sensor.MQTT_SENSOR_ATTRIBUTES_BLOCKED
 
int homeassistant.components.mqtt.sensor.PARALLEL_UPDATES = 0
 
 homeassistant.components.mqtt.sensor.PLATFORM_SCHEMA_MODERN