From 0b17d6967dffde4c64c5656f62fe1f147428d770 Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Thu, 1 Feb 2024 10:42:09 +0100 Subject: [PATCH 1/2] Add sensor_always_available --- custom_components/plant/plant_meters.py | 1 + custom_components/plant/sensor.py | 1 + 2 files changed, 2 insertions(+) diff --git a/custom_components/plant/plant_meters.py b/custom_components/plant/plant_meters.py index 92c932b..b74f5e6 100644 --- a/custom_components/plant/plant_meters.py +++ b/custom_components/plant/plant_meters.py @@ -385,6 +385,7 @@ def __init__( tariff_entity=None, tariff=None, unique_id=f"{config.entry_id}-dli", + sensor_always_available=True, suggested_entity_id=None, ) diff --git a/custom_components/plant/sensor.py b/custom_components/plant/sensor.py index 767a0d1..3b15ec2 100644 --- a/custom_components/plant/sensor.py +++ b/custom_components/plant/sensor.py @@ -588,6 +588,7 @@ def __init__( tariff_entity=None, tariff=None, unique_id=f"{config.entry_id}-dli", + sensor_always_available=True, suggested_entity_id=None, periodically_resetting=True, ) From c08dc7b1abe5ce524999a40c51eb13b65f02a275 Mon Sep 17 00:00:00 2001 From: Ola Thoresen Date: Thu, 1 Feb 2024 11:00:09 +0100 Subject: [PATCH 2/2] Release 2024.2-beta. Prepare for HA 2024.2 --- custom_components/plant/manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/plant/manifest.json b/custom_components/plant/manifest.json index b61db2d..65cc0d6 100644 --- a/custom_components/plant/manifest.json +++ b/custom_components/plant/manifest.json @@ -16,5 +16,5 @@ "requirements": [ "async-timeout>=4.0.2" ], - "version": "2024.1.0" + "version": "2024.2.0-beta1" }