1
mirror of https://github.com/home-assistant/core synced 2024-10-07 10:13:38 +02:00

Fix solaredge energy sensor names (#58773)

This commit is contained in:
purcell-lab 2021-11-01 02:11:48 +11:00 committed by GitHub
parent ce27fb87c6
commit 13386fc41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,45 +147,45 @@ SENSOR_TYPES = [
icon="mdi:car-battery",
),
SolarEdgeSensorEntityDescription(
key="purchased_power",
key="purchased_energy",
json_key="Purchased",
name="Imported Power",
name="Imported Energy",
entity_registry_enabled_default=False,
state_class=STATE_CLASS_TOTAL_INCREASING,
native_unit_of_measurement=ENERGY_WATT_HOUR,
device_class=DEVICE_CLASS_ENERGY,
),
SolarEdgeSensorEntityDescription(
key="production_power",
key="production_energy",
json_key="Production",
name="Production Power",
name="Production Energy",
entity_registry_enabled_default=False,
state_class=STATE_CLASS_TOTAL_INCREASING,
native_unit_of_measurement=ENERGY_WATT_HOUR,
device_class=DEVICE_CLASS_ENERGY,
),
SolarEdgeSensorEntityDescription(
key="consumption_power",
key="consumption_energy",
json_key="Consumption",
name="Consumption Power",
name="Consumption Energy",
entity_registry_enabled_default=False,
state_class=STATE_CLASS_TOTAL_INCREASING,
native_unit_of_measurement=ENERGY_WATT_HOUR,
device_class=DEVICE_CLASS_ENERGY,
),
SolarEdgeSensorEntityDescription(
key="selfconsumption_power",
key="selfconsumption_energy",
json_key="SelfConsumption",
name="SelfConsumption Power",
name="SelfConsumption Energy",
entity_registry_enabled_default=False,
state_class=STATE_CLASS_TOTAL_INCREASING,
native_unit_of_measurement=ENERGY_WATT_HOUR,
device_class=DEVICE_CLASS_ENERGY,
),
SolarEdgeSensorEntityDescription(
key="feedin_power",
key="feedin_energy",
json_key="FeedIn",
name="Exported Power",
name="Exported Energy",
entity_registry_enabled_default=False,
state_class=STATE_CLASS_TOTAL_INCREASING,
native_unit_of_measurement=ENERGY_WATT_HOUR,