Skip to content

Commit

Permalink
Disable software version sensors by default as they usually report no…
Browse files Browse the repository at this point in the history
…thing
  • Loading branch information
jschlyter committed Dec 20, 2024
1 parent 920e7c9 commit 82ab19a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/polestar_api/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 82ab19a

Please sign in to comment.