Classes | |
| class | DSMREntity |
| class | DSMRSensorEntityDescription |
| class | MbusDeviceType |
Functions | |
| None | async_setup_entry (HomeAssistant hass, DsmrConfigEntry entry, AddEntitiesCallback async_add_entities) |
| Generator[DSMREntity] | create_mbus_entities (HomeAssistant hass, Telegram telegram, ConfigEntry entry, str dsmr_version) |
| tuple[SensorDeviceClass|None, str|None] | device_class_and_uom (Telegram|MbusDevice data, DSMRSensorEntityDescription entity_description) |
| DSMRObject|None | get_dsmr_object (Telegram|None telegram, int mbus_id, str obis_reference) |
| bool | is_supported_description (Telegram|MbusDevice data, DSMRSensorEntityDescription description, str dsmr_version) |
| None | rename_old_gas_to_mbus (HomeAssistant hass, ConfigEntry entry, str mbus_device_id) |
Variables | |
| string | EVENT_FIRST_TELEGRAM = "dsmr_first_telegram_{}" |
| dictionary | UNIT_CONVERSION = {"m3": UnitOfVolume.CUBIC_METERS} |
Support for Dutch Smart Meter (also known as Smartmeter or P1 port).
| None homeassistant.components.dsmr.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| DsmrConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| Generator[DSMREntity] homeassistant.components.dsmr.sensor.create_mbus_entities | ( | HomeAssistant | hass, |
| Telegram | telegram, | ||
| ConfigEntry | entry, | ||
| str | dsmr_version | ||
| ) |
| tuple[SensorDeviceClass | None, str | None] homeassistant.components.dsmr.sensor.device_class_and_uom | ( | Telegram | MbusDevice | data, |
| DSMRSensorEntityDescription | entity_description | ||
| ) |
| DSMRObject | None homeassistant.components.dsmr.sensor.get_dsmr_object | ( | Telegram | None | telegram, |
| int | mbus_id, | ||
| str | obis_reference | ||
| ) |
| bool homeassistant.components.dsmr.sensor.is_supported_description | ( | Telegram | MbusDevice | data, |
| DSMRSensorEntityDescription | description, | ||
| str | dsmr_version | ||
| ) |
| None homeassistant.components.dsmr.sensor.rename_old_gas_to_mbus | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| str | mbus_device_id | ||
| ) |
| string homeassistant.components.dsmr.sensor.EVENT_FIRST_TELEGRAM = "dsmr_first_telegram_{}" |