From 82ab19a8869195ea3ee5d52c0b561dd278ea7dbb Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Sat, 21 Dec 2024 00:07:10 +0100 Subject: [PATCH] Disable software version sensors by default as they usually report nothing --- custom_components/polestar_api/sensor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/custom_components/polestar_api/sensor.py b/custom_components/polestar_api/sensor.py index acde69c..a95fd3d 100644 --- a/custom_components/polestar_api/sensor.py +++ b/custom_components/polestar_api/sensor.py @@ -168,6 +168,7 @@ class PolestarSensorDescription(SensorEntityDescription): name="Software Version", icon="mdi:information-outline", native_unit_of_measurement=None, + entity_registry_enabled_default=False, ), PolestarSensorDescription( key="software_version_release", @@ -176,6 +177,7 @@ class PolestarSensorDescription(SensorEntityDescription): state_class=SensorStateClass.MEASUREMENT, device_class=SensorDeviceClass.TIMESTAMP, native_unit_of_measurement=None, + entity_registry_enabled_default=False, ), PolestarSensorDescription( key="registration_number",