diff --git a/custom_components/cloudweatherproxy/manifest.json b/custom_components/cloudweatherproxy/manifest.json index aa4f6f6..7748d36 100644 --- a/custom_components/cloudweatherproxy/manifest.json +++ b/custom_components/cloudweatherproxy/manifest.json @@ -12,7 +12,7 @@ "iot_class": "local_push", "issue_tracker": "https://github.com/lhw/cloudweatherproxy/issues", "requirements": [ - "aiocloudweather==2024.12.1" + "aiocloudweather==2024.12.2" ], "version": "2024.12.0" } \ No newline at end of file diff --git a/custom_components/cloudweatherproxy/sensor.py b/custom_components/cloudweatherproxy/sensor.py index 1e2351b..6122176 100644 --- a/custom_components/cloudweatherproxy/sensor.py +++ b/custom_components/cloudweatherproxy/sensor.py @@ -44,7 +44,7 @@ async def _new_dataset(station: WeatherStation) -> None: continue new_sensor = CloudWeatherEntity( - sensor, station, hass.config.units, str( + sensor, station, str( field.metadata.get("name")) ) known_sensors[unique_id] = new_sensor diff --git a/requirements.txt b/requirements.txt index b347f63..5cf49e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ pip>=24.1,<25.0 ruff==0.8.* colorlog==6.9.* homeassistant==2024.12.5 -aiocloudweather==2024.12.1 \ No newline at end of file +aiocloudweather==2024.12.2 \ No newline at end of file