From 1eeb3bdcdfb7f8fc741e77ae1e5cff8dd05a1683 Mon Sep 17 00:00:00 2001 From: dontinelli <73341522+dontinelli@users.noreply.github.com> Date: Sun, 25 Aug 2024 17:23:21 +0200 Subject: [PATCH] Bump fyta_cli to 0.6.3 (#124574) --- homeassistant/components/fyta/manifest.json | 2 +- homeassistant/components/fyta/sensor.py | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/fyta/manifest.json b/homeassistant/components/fyta/manifest.json index 07387f4ab0569..c07a19a3db024 100644 --- a/homeassistant/components/fyta/manifest.json +++ b/homeassistant/components/fyta/manifest.json @@ -7,5 +7,5 @@ "integration_type": "hub", "iot_class": "cloud_polling", "quality_scale": "platinum", - "requirements": ["fyta_cli==0.6.0"] + "requirements": ["fyta_cli==0.6.3"] } diff --git a/homeassistant/components/fyta/sensor.py b/homeassistant/components/fyta/sensor.py index 262d0b6d1f4f7..a351d79dd8bba 100644 --- a/homeassistant/components/fyta/sensor.py +++ b/homeassistant/components/fyta/sensor.py @@ -145,7 +145,7 @@ async def async_setup_entry( FytaPlantSensor(coordinator, entry, sensor, plant_id) for plant_id in coordinator.fyta.plant_list for sensor in SENSORS - if sensor.key in dir(coordinator.data[plant_id]) + if sensor.key in dir(coordinator.data.get(plant_id)) ] async_add_entities(plant_entities) diff --git a/requirements_all.txt b/requirements_all.txt index 5c8584b0df98f..699193d350ec7 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -924,7 +924,7 @@ freesms==0.2.0 fritzconnection[qr]==1.13.2 # homeassistant.components.fyta -fyta_cli==0.6.0 +fyta_cli==0.6.3 # homeassistant.components.google_translate gTTS==2.2.4 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 353182b1714ee..31420e7f7afc0 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -777,7 +777,7 @@ freebox-api==1.1.0 fritzconnection[qr]==1.13.2 # homeassistant.components.fyta -fyta_cli==0.6.0 +fyta_cli==0.6.3 # homeassistant.components.google_translate gTTS==2.2.4