From 888f97d5067b4e9580524149e9b2986ed041410f Mon Sep 17 00:00:00 2001 From: DigiH Date: Sun, 3 Nov 2024 17:01:58 +0100 Subject: [PATCH] [DISC] Additional HA discovery device class --- TheengsGateway/discovery.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/TheengsGateway/discovery.py b/TheengsGateway/discovery.py index 69ca8c4..7bbc0b7 100644 --- a/TheengsGateway/discovery.py +++ b/TheengsGateway/discovery.py @@ -30,6 +30,7 @@ from .ble_gateway import DataJSONType, Gateway, TnM, logger ha_dev_classes = [ + "battery_charging", "battery", "carbon_dioxide", "carbon_monoxide", @@ -50,10 +51,10 @@ "pm1", "pm10", "pm25", - "power", "power_factor", - "precipitation", + "power", "precipitation_intensity", + "precipitation", "pressure", "problem", "restart",