mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 17:27:52 +00:00
Improve available for Mill heater (#18597)
* improve available for Mill heater * typo
This commit is contained in:
parent
e87ecbd500
commit
8742750926
@ -19,7 +19,7 @@ from homeassistant.const import (
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
|
||||
REQUIREMENTS = ['millheater==0.2.7']
|
||||
REQUIREMENTS = ['millheater==0.2.8']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
@ -98,7 +98,7 @@ class MillHeater(ClimateDevice):
|
||||
@property
|
||||
def available(self):
|
||||
"""Return True if entity is available."""
|
||||
return self._heater.device_status == 0 # weird api choice
|
||||
return self._heater.available
|
||||
|
||||
@property
|
||||
def unique_id(self):
|
||||
|
@ -634,7 +634,7 @@ mficlient==0.3.0
|
||||
miflora==0.4.0
|
||||
|
||||
# homeassistant.components.climate.mill
|
||||
millheater==0.2.7
|
||||
millheater==0.2.8
|
||||
|
||||
# homeassistant.components.sensor.mitemp_bt
|
||||
mitemp_bt==0.0.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user