* Adds option for the sensor to always be available * Remove logger debug * Add migration config entry version * Update homeassistant/components/utility_meter/config_flow.py Co-authored-by: Robert Resch <robert@resch.dev> * Update homeassistant/components/utility_meter/sensor.py Co-authored-by: Robert Resch <robert@resch.dev> * Remove migration config entry version * Change CONF_SENSOR_ALWAYS_AVAILABLE optional in CONFIG_SCHEMA * Remove CONF_SENSOR_ALWAYS_AVAILABLE in tests * Remove CONF_SENSOR_ALWAYS_AVAILABLE in tests * Remove CONF_SENSOR_ALWAYS_AVAILABLE in tests * Add option in yaml * Update homeassistant/components/utility_meter/strings.json Co-authored-by: Robert Resch <robert@resch.dev> * Update homeassistant/components/utility_meter/strings.json Co-authored-by: Robert Resch <robert@resch.dev> * Changes tests * Add test_always_available * Use freezegun * Update homeassistant/components/utility_meter/strings.json --------- Co-authored-by: Robert Resch <robert@resch.dev> Co-authored-by: Erik Montnemery <erik@montnemery.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_config_flow.py | ||
test_init.py | ||
test_sensor.py |