From 42a45f4dd1ff082115e5a41ccef2399d073c8f81 Mon Sep 17 00:00:00 2001 From: MAC MattX Date: Mon, 14 Sep 2026 15:02:14 +0200 Subject: [PATCH] Swap icons for total consumption and production sensors to reflect correct energy flow --- custom_components/cez/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/cez/sensor.py b/custom_components/cez/sensor.py index 9bcdafe..fdf4024 100644 --- a/custom_components/cez/sensor.py +++ b/custom_components/cez/sensor.py @@ -433,7 +433,7 @@ class CezTotalConsumptionSensor(CoordinatorEntity[CezDistribuceCoordinator], Sen _attr_device_class = SensorDeviceClass.ENERGY _attr_state_class = SensorStateClass.TOTAL_INCREASING _attr_native_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR - _attr_icon = "mdi:transmission-tower-import" + _attr_icon = "mdi:transmission-tower-export" _attr_has_entity_name = True def __init__( @@ -496,7 +496,7 @@ class CezTotalProductionSensor(CoordinatorEntity[CezDistribuceCoordinator], Sens _attr_state_class = SensorStateClass.TOTAL_INCREASING _attr_native_unit_of_measurement = UnitOfEnergy.KILO_WATT_HOUR _attr_suggested_display_precision = 2 - _attr_icon = "mdi:transmission-tower-export" + _attr_icon = "mdi:transmission-tower-import" _attr_has_entity_name = True def __init__(