Home Assistant Unofficial Reference 2024.12.1
const.py File Reference

Go to the source code of this file.

Namespaces

 homeassistant.components.dsmr.const
 

Variables

string homeassistant.components.dsmr.const.CONF_DSMR_VERSION = "dsmr_version"
 
string homeassistant.components.dsmr.const.CONF_SERIAL_ID = "serial_id"
 
string homeassistant.components.dsmr.const.CONF_SERIAL_ID_GAS = "serial_id_gas"
 
string homeassistant.components.dsmr.const.CONF_TIME_BETWEEN_UPDATE = "time_between_update"
 
string homeassistant.components.dsmr.const.DEFAULT_DSMR_VERSION = "2.2"
 
string homeassistant.components.dsmr.const.DEFAULT_PORT = "/dev/ttyUSB0"
 
int homeassistant.components.dsmr.const.DEFAULT_PRECISION = 3
 
int homeassistant.components.dsmr.const.DEFAULT_RECONNECT_INTERVAL = 30
 
int homeassistant.components.dsmr.const.DEFAULT_TIME_BETWEEN_UPDATE = 30
 
string homeassistant.components.dsmr.const.DEVICE_NAME_ELECTRICITY = "Electricity Meter"
 
string homeassistant.components.dsmr.const.DEVICE_NAME_GAS = "Gas Meter"
 
string homeassistant.components.dsmr.const.DEVICE_NAME_HEAT = "Heat Meter"
 
string homeassistant.components.dsmr.const.DEVICE_NAME_WATER = "Water Meter"
 
string homeassistant.components.dsmr.const.DOMAIN = "dsmr"
 
string homeassistant.components.dsmr.const.DSMR_PROTOCOL = "dsmr_protocol"
 
dictionary homeassistant.components.dsmr.const.DSMR_VERSIONS = {"2.2", "4", "5", "5B", "5L", "5S", "Q3D"}
 
 homeassistant.components.dsmr.const.LOGGER = logging.getLogger(__package__)
 
list homeassistant.components.dsmr.const.PLATFORMS = [Platform.SENSOR]
 
string homeassistant.components.dsmr.const.RFXTRX_DSMR_PROTOCOL = "rfxtrx_dsmr_protocol"