Skip to content

Commit

Permalink
remove sensor key with meter, watt, amps,...
Browse files Browse the repository at this point in the history
  • Loading branch information
leeyuentuen committed Jan 4, 2024
1 parent 0c8f3e5 commit 175b334
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions custom_components/polestar_api/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class PolestarSensorDescription(
# dict_data=None,
# ),
PolestarSensorDescription(
key="current_odometer_meters",
key="current_odometer",
name="Odometer",
icon="mdi:map-marker-distance",
query="getOdometerData",
Expand All @@ -125,7 +125,7 @@ class PolestarSensorDescription(
dict_data=None
),
PolestarSensorDescription(
key="average_speed_per_hour",
key="average_speed",
name="Avg. Speed",
icon="mdi:speedometer",
query="getOdometerData",
Expand Down Expand Up @@ -176,7 +176,7 @@ class PolestarSensorDescription(
dict_data=None
),
PolestarSensorDescription(
key="estimated_charging_time_to_full_minutes",
key="estimated_charging_time_to_full",
name="Charging Time",
icon="mdi:battery-clock",
query="getBatteryData",
Expand All @@ -198,7 +198,7 @@ class PolestarSensorDescription(
dict_data=CHARGING_STATUS_DICT
),
PolestarSensorDescription(
key="charging_power_watts",
key="charging_power",
name="Charging Power",
icon="mdi:lightning-bolt",
query="getBatteryData",
Expand All @@ -211,7 +211,7 @@ class PolestarSensorDescription(
dict_data=None
),
PolestarSensorDescription(
key="charging_current_amps",
key="charging_current",
name="Charging Current",
icon="mdi:current-ac",
query="getBatteryData",
Expand Down

0 comments on commit 175b334

Please sign in to comment.