Skip to content

Commit

Permalink
Merge pull request #276 from jschlyter/disable_software_sensors
Browse files Browse the repository at this point in the history
Disable software version sensors by default
  • Loading branch information
jschlyter authored Dec 26, 2024
2 parents c406594 + 82ab19a commit ca53c5f
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 ca53c5f

Please sign in to comment.