Go to the source code of this file.
Namespaces | |
| homeassistant.components.integration.sensor | |
Functions | |
| Decimal|None | homeassistant.components.integration.sensor._decimal_state (str state) |
| None | homeassistant.components.integration.sensor.async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities) |
| None | homeassistant.components.integration.sensor.async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| homeassistant.components.integration.sensor._LOGGER = logging.getLogger(__name__) | |
| int | homeassistant.components.integration.sensor.DEFAULT_ROUND = 3 |
| dictionary | homeassistant.components.integration.sensor.DEVICE_CLASS_MAP |
| homeassistant.components.integration.sensor.Final | |
| homeassistant.components.integration.sensor.PLATFORM_SCHEMA | |
| dictionary | homeassistant.components.integration.sensor.UNIT_PREFIXES = {None: 1, "k": 10**3, "M": 10**6, "G": 10**9, "T": 10**12} |
| dictionary | homeassistant.components.integration.sensor.UNIT_TIME |