From 6d47ac24674db5ec82977f95d79962b83381f2fc Mon Sep 17 00:00:00 2001 From: Sebastian Loeb Date: Wed, 27 Dec 2023 10:43:45 +0100 Subject: [PATCH] Changed some sensor icons for better fit --- custom_components/polestar_api/sensor.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/custom_components/polestar_api/sensor.py b/custom_components/polestar_api/sensor.py index 0726ffc..8b04a11 100644 --- a/custom_components/polestar_api/sensor.py +++ b/custom_components/polestar_api/sensor.py @@ -113,7 +113,7 @@ class PolestarSensorDescription( PolestarSensorDescription( key="average_speed_km_per_hour", name="Avg Speed Per Hour", - icon="mdi:map-marker-distance", + icon="mdi:speedometer", query="getOdometerData", field_name="averageSpeedKmPerHour", unit='km', @@ -175,7 +175,7 @@ class PolestarSensorDescription( PolestarSensorDescription( key="charging_status", name="Charging status", - icon="mdi:battery-clock", + icon="mdi:ev-station", query="getBatteryData", field_name="chargingStatus", unit=None, @@ -212,7 +212,7 @@ class PolestarSensorDescription( PolestarSensorDescription( key="charger_connection_status", name="Charging Connection Status", - icon="mdi:battery-clock", + icon="mdi:connection", query="getBatteryData", field_name="chargerConnectionStatus", unit=None, @@ -286,6 +286,7 @@ class PolestarSensorDescription( PolestarSensorDescription( key="model_name", name="Model name", + icon="mdi:car-electric", query="getConsumerCarsV2", field_name="content/model/name", unit=None, @@ -296,6 +297,7 @@ class PolestarSensorDescription( PolestarSensorDescription( key="last_updated_odometer_data", name="Last updated odometer data", + icon="mdi:counter", query="getOdometerData", field_name="eventUpdatedTimestamp/iso", unit=None,