diff --git a/homeassistant/components/ecowitt/entity.py b/homeassistant/components/ecowitt/entity.py index a5d769e6749..cf62cfb2d94 100644 --- a/homeassistant/components/ecowitt/entity.py +++ b/homeassistant/components/ecowitt/entity.py @@ -38,8 +38,8 @@ class EcowittEntity(Entity): """Update the state on callback.""" self.async_write_ha_state() - self.ecowitt.update_cb.append(_update_state) # type: ignore[arg-type] # upstream bug - self.async_on_remove(lambda: self.ecowitt.update_cb.remove(_update_state)) # type: ignore[arg-type] # upstream bug + self.ecowitt.update_cb.append(_update_state) + self.async_on_remove(lambda: self.ecowitt.update_cb.remove(_update_state)) @property def available(self) -> bool: diff --git a/homeassistant/components/ecowitt/manifest.json b/homeassistant/components/ecowitt/manifest.json index 9f0f668ee81..d3dfe0331ef 100644 --- a/homeassistant/components/ecowitt/manifest.json +++ b/homeassistant/components/ecowitt/manifest.json @@ -6,5 +6,5 @@ "dependencies": ["webhook"], "documentation": "https://www.home-assistant.io/integrations/ecowitt", "iot_class": "local_push", - "requirements": ["aioecowitt==2023.5.0"] + "requirements": ["aioecowitt==2024.2.0"] } diff --git a/requirements_all.txt b/requirements_all.txt index 8f4e6d3432f..fd50a9324fb 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -230,7 +230,7 @@ aioeafm==0.1.2 aioeagle==1.1.0 # homeassistant.components.ecowitt -aioecowitt==2023.5.0 +aioecowitt==2024.2.0 # homeassistant.components.co2signal aioelectricitymaps==0.3.1 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 26f4a4ef524..980cf84eba0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -209,7 +209,7 @@ aioeafm==0.1.2 aioeagle==1.1.0 # homeassistant.components.ecowitt -aioecowitt==2023.5.0 +aioecowitt==2024.2.0 # homeassistant.components.co2signal aioelectricitymaps==0.3.1