Closed CodingRainer closed 1 year ago
You probably mean "heutiger_strom_bezug_kwh"
openwbSensorEntityDescription(
key="evu/DailyYieldImportKwh",
name="Heutiger Strom-Bezug (kWh)",
device_class=SensorDeviceClass.ENERGY,
state_class=SensorStateClass.TOTAL_INCREASING,
native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR,
entity_registry_enabled_default=False,
value_fn=lambda x: round(float(x), 2),
old: icon="mdi:transmission-tower-export",
new: icon="mdi:transmission-tower-import",
fixed and created PR #50
hm... just noticed, that the icon description is a bit misleading... ^^
this would be valid for all sensors:
Sorry - I'll change that again
should now be changed for all sensors in PR #51
the icon for the sensor 'sensor.openwb_heutiger_strom_export_kwh' should be 'mdi:transmission-tower-import'