mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Update pvo to 0.2.0 (#62926)
This commit is contained in:
parent
92ace6c2e8
commit
1c7efe7047
@ -4,6 +4,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/pvoutput",
|
"documentation": "https://www.home-assistant.io/integrations/pvoutput",
|
||||||
"config_flow": true,
|
"config_flow": true,
|
||||||
"codeowners": ["@fabaff", "@frenck"],
|
"codeowners": ["@fabaff", "@frenck"],
|
||||||
"requirements": ["pvo==0.1.0"],
|
"requirements": ["pvo==0.2.0"],
|
||||||
"iot_class": "cloud_polling"
|
"iot_class": "cloud_polling"
|
||||||
}
|
}
|
||||||
|
@ -89,11 +89,11 @@ SENSORS: tuple[PVOutputSensorEntityDescription, ...] = (
|
|||||||
value_fn=lambda status: status.energy_generation,
|
value_fn=lambda status: status.energy_generation,
|
||||||
),
|
),
|
||||||
PVOutputSensorEntityDescription(
|
PVOutputSensorEntityDescription(
|
||||||
key="normalized_ouput",
|
key="normalized_output",
|
||||||
name="Efficiency",
|
name="Efficiency",
|
||||||
native_unit_of_measurement=f"{ENERGY_KILO_WATT_HOUR}/{POWER_KILO_WATT}",
|
native_unit_of_measurement=f"{ENERGY_KILO_WATT_HOUR}/{POWER_KILO_WATT}",
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value_fn=lambda status: status.normalized_ouput,
|
value_fn=lambda status: status.normalized_output,
|
||||||
),
|
),
|
||||||
PVOutputSensorEntityDescription(
|
PVOutputSensorEntityDescription(
|
||||||
key="power_consumption",
|
key="power_consumption",
|
||||||
@ -209,7 +209,7 @@ class PVOutputSensorEntity(CoordinatorEntity, SensorEntity):
|
|||||||
ATTR_POWER_GENERATION: self.coordinator.data.power_generation,
|
ATTR_POWER_GENERATION: self.coordinator.data.power_generation,
|
||||||
ATTR_ENERGY_CONSUMPTION: self.coordinator.data.energy_consumption,
|
ATTR_ENERGY_CONSUMPTION: self.coordinator.data.energy_consumption,
|
||||||
ATTR_POWER_CONSUMPTION: self.coordinator.data.power_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_TEMPERATURE: self.coordinator.data.temperature,
|
||||||
ATTR_VOLTAGE: self.coordinator.data.voltage,
|
ATTR_VOLTAGE: self.coordinator.data.voltage,
|
||||||
}
|
}
|
||||||
|
@ -1292,7 +1292,7 @@ pushbullet.py==0.11.0
|
|||||||
pushover_complete==1.1.1
|
pushover_complete==1.1.1
|
||||||
|
|
||||||
# homeassistant.components.pvoutput
|
# homeassistant.components.pvoutput
|
||||||
pvo==0.1.0
|
pvo==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.rpi_gpio_pwm
|
# homeassistant.components.rpi_gpio_pwm
|
||||||
pwmled==1.6.7
|
pwmled==1.6.7
|
||||||
|
@ -790,7 +790,7 @@ pure-python-adb[async]==0.3.0.dev0
|
|||||||
pushbullet.py==0.11.0
|
pushbullet.py==0.11.0
|
||||||
|
|
||||||
# homeassistant.components.pvoutput
|
# homeassistant.components.pvoutput
|
||||||
pvo==0.1.0
|
pvo==0.2.0
|
||||||
|
|
||||||
# homeassistant.components.canary
|
# homeassistant.components.canary
|
||||||
py-canary==0.5.1
|
py-canary==0.5.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user