Fix entity name for Flick Electric (#95947)

Fix entity name
This commit is contained in:
Joost Lekkerkerker 2023-07-06 16:21:15 +02:00 committed by GitHub
parent 45ae6b3475
commit 8015d4c7b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ class FlickPricingSensor(SensorEntity):
_attr_attribution = "Data provided by Flick Electric" _attr_attribution = "Data provided by Flick Electric"
_attr_native_unit_of_measurement = f"{CURRENCY_CENT}/{UnitOfEnergy.KILO_WATT_HOUR}" _attr_native_unit_of_measurement = f"{CURRENCY_CENT}/{UnitOfEnergy.KILO_WATT_HOUR}"
_attr_has_entity_name = True
_attr_translation_key = "power_price" _attr_translation_key = "power_price"
_attributes: dict[str, Any] = {} _attributes: dict[str, Any] = {}