Skip to content

Commit

Permalink
Merge pull request #236 from jschlyter/default_disabled
Browse files Browse the repository at this point in the history
Disable some sensors by default
  • Loading branch information
jschlyter authored Nov 18, 2024
2 parents d4c0c26 + f49eceb commit fdf5a76
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/polestar_api/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ class PolestarSensorDescription(
round_digits=None,
max_value=None,
dict_data=None,
entity_registry_enabled_default=False,
),
PolestarSensorDescription(
key="estimated_fully_charged_time",
Expand Down Expand Up @@ -422,6 +423,7 @@ class PolestarSensorDescription(
max_value=None,
dict_data=API_STATUS_DICT,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
PolestarSensorDescription(
key="api_status_code_auth",
Expand All @@ -434,6 +436,7 @@ class PolestarSensorDescription(
max_value=None,
dict_data=API_STATUS_DICT,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
PolestarSensorDescription(
key="api_token_expires_at",
Expand All @@ -446,6 +449,7 @@ class PolestarSensorDescription(
max_value=None,
dict_data=None,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
),
PolestarSensorDescription(
key="torque",
Expand Down

0 comments on commit fdf5a76

Please sign in to comment.