diff --git a/homeassistant/components/blebox/manifest.json b/homeassistant/components/blebox/manifest.json index 4b0a6403f670e6140f07d05f1d8ae18047ce1230..a2c6495cc56c397362b76ef7b053569f81360ef0 100644 --- a/homeassistant/components/blebox/manifest.json +++ b/homeassistant/components/blebox/manifest.json @@ -6,6 +6,6 @@ "documentation": "https://www.home-assistant.io/integrations/blebox", "iot_class": "local_polling", "loggers": ["blebox_uniapi"], - "requirements": ["blebox-uniapi==2.2.2"], + "requirements": ["blebox-uniapi==2.4.2"], "zeroconf": ["_bbxsrv._tcp.local."] } diff --git a/homeassistant/components/blebox/sensor.py b/homeassistant/components/blebox/sensor.py index dbdf034faee185ebd455b5424a50428198c17143..5aff62eb11ebec43c4bde0e80c05309f780dc025 100644 --- a/homeassistant/components/blebox/sensor.py +++ b/homeassistant/components/blebox/sensor.py @@ -45,7 +45,7 @@ SENSOR_TYPES = ( native_unit_of_measurement=UnitOfTemperature.CELSIUS, ), SensorEntityDescription( - key="powerMeasurement", + key="powerConsumption", device_class=SensorDeviceClass.ENERGY, native_unit_of_measurement=UnitOfEnergy.KILO_WATT_HOUR, state_class=SensorStateClass.TOTAL, @@ -56,7 +56,7 @@ SENSOR_TYPES = ( native_unit_of_measurement=PERCENTAGE, ), SensorEntityDescription( - key="wind_speed", + key="wind", device_class=SensorDeviceClass.WIND_SPEED, native_unit_of_measurement=UnitOfSpeed.METERS_PER_SECOND, ), diff --git a/requirements_all.txt b/requirements_all.txt index 1c55d0536d73fb0ae42112755c3321f8be702cec..e1a7e7c766f99afff4ed1c62d582a0db754999c4 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -566,7 +566,7 @@ bleak-retry-connector==3.5.0 bleak==0.22.1 # homeassistant.components.blebox -blebox-uniapi==2.2.2 +blebox-uniapi==2.4.2 # homeassistant.components.blink blinkpy==0.22.6 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index b6039ed2ea93010b14477178787ff672f71b80f5..47e0ecf684feaefd458586dd247dd6c3bf55f802 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -488,7 +488,7 @@ bleak-retry-connector==3.5.0 bleak==0.22.1 # homeassistant.components.blebox -blebox-uniapi==2.2.2 +blebox-uniapi==2.4.2 # homeassistant.components.blink blinkpy==0.22.6