Update pvo to 0.2.0 (#62926)
This commit is contained in:
parent
92ace6c2e8
commit
1c7efe7047
4 changed files with 6 additions and 6 deletions
|
@ -4,6 +4,6 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/pvoutput",
|
||||
"config_flow": true,
|
||||
"codeowners": ["@fabaff", "@frenck"],
|
||||
"requirements": ["pvo==0.1.0"],
|
||||
"requirements": ["pvo==0.2.0"],
|
||||
"iot_class": "cloud_polling"
|
||||
}
|
||||
|
|
|
@ -89,11 +89,11 @@ SENSORS: tuple[PVOutputSensorEntityDescription, ...] = (
|
|||
value_fn=lambda status: status.energy_generation,
|
||||
),
|
||||
PVOutputSensorEntityDescription(
|
||||
key="normalized_ouput",
|
||||
key="normalized_output",
|
||||
name="Efficiency",
|
||||
native_unit_of_measurement=f"{ENERGY_KILO_WATT_HOUR}/{POWER_KILO_WATT}",
|
||||
state_class=SensorStateClass.MEASUREMENT,
|
||||
value_fn=lambda status: status.normalized_ouput,
|
||||
value_fn=lambda status: status.normalized_output,
|
||||
),
|
||||
PVOutputSensorEntityDescription(
|
||||
key="power_consumption",
|
||||
|
@ -209,7 +209,7 @@ class PVOutputSensorEntity(CoordinatorEntity, SensorEntity):
|
|||
ATTR_POWER_GENERATION: self.coordinator.data.power_generation,
|
||||
ATTR_ENERGY_CONSUMPTION: self.coordinator.data.energy_consumption,
|
||||
ATTR_POWER_CONSUMPTION: self.coordinator.data.power_consumption,
|
||||
ATTR_EFFICIENCY: self.coordinator.data.normalized_ouput,
|
||||
ATTR_EFFICIENCY: self.coordinator.data.normalized_output,
|
||||
ATTR_TEMPERATURE: self.coordinator.data.temperature,
|
||||
ATTR_VOLTAGE: self.coordinator.data.voltage,
|
||||
}
|
||||
|
|
|
@ -1292,7 +1292,7 @@ pushbullet.py==0.11.0
|
|||
pushover_complete==1.1.1
|
||||
|
||||
# homeassistant.components.pvoutput
|
||||
pvo==0.1.0
|
||||
pvo==0.2.0
|
||||
|
||||
# homeassistant.components.rpi_gpio_pwm
|
||||
pwmled==1.6.7
|
||||
|
|
|
@ -790,7 +790,7 @@ pure-python-adb[async]==0.3.0.dev0
|
|||
pushbullet.py==0.11.0
|
||||
|
||||
# homeassistant.components.pvoutput
|
||||
pvo==0.1.0
|
||||
pvo==0.2.0
|
||||
|
||||
# homeassistant.components.canary
|
||||
py-canary==0.5.1
|
||||
|
|
Loading…
Add table
Reference in a new issue