dougiteixeira
7713cf377d
Add utility meter option for the sensor to always be available (#103481)
* 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>