diff --git a/README.md b/README.md index 7790e0d..b73dd9f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![License](https://img.shields.io/github/license/custom-components/blueprint.svg?style=for-the-badge)](LICENSE) [![hacs_badge](https://img.shields.io/badge/HACS-Default-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration) -Thermia Heat Pump Integration for Home Assistant +Thermia Heat Pump Integration for Home Assistant. Depends on [Python Thermia Online API](https://github.com/klejejs/python-thermia-online-api). _Component to integrate with [Thermia Heat Pump](https://github.com/klejejs/ha-thermia-heat-pump-integration)._ diff --git a/custom_components/thermia/manifest.json b/custom_components/thermia/manifest.json index a16b468..6eca81b 100644 --- a/custom_components/thermia/manifest.json +++ b/custom_components/thermia/manifest.json @@ -9,7 +9,7 @@ "@klejejs" ], "requirements": [ - "ThermiaOnlineAPI==2.5" + "ThermiaOnlineAPI==2.6" ], "version": "1.0", "iot_class": "cloud_polling", diff --git a/custom_components/thermia/sensors/active_alarms_sensor.py b/custom_components/thermia/sensors/active_alarms_sensor.py index fddd26d..abe553f 100644 --- a/custom_components/thermia/sensors/active_alarms_sensor.py +++ b/custom_components/thermia/sensors/active_alarms_sensor.py @@ -18,7 +18,7 @@ def __init__(self, coordinator, idx): @property def available(self): """Return True if entity is available.""" - return self.coordinator.data.heat_pumps[self.idx].is_online + return self.coordinator.data.connected @property def name(self):