Skip to content

Commit

Permalink
Python API update that fixes alarm sensor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
klejejs committed Jan 14, 2022
1 parent ca9c2f5 commit d47ddc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)._

Expand Down
2 changes: 1 addition & 1 deletion custom_components/thermia/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@klejejs"
],
"requirements": [
"ThermiaOnlineAPI==2.5"
"ThermiaOnlineAPI==2.6"
],
"version": "1.0",
"iot_class": "cloud_polling",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/thermia/sensors/active_alarms_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d47ddc0

Please sign in to comment.