Eq3bt bump version, expose away attribute (#5353)
* eq3bt: read away ends attr * eq3bt: bump version to fix missing __init__, expose away_ends attribute.
This commit is contained in:
parent
2e3d5302bf
commit
7a1d4b96ef
2 changed files with 4 additions and 2 deletions
|
@ -17,7 +17,7 @@ from homeassistant.const import (
|
|||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
REQUIREMENTS = ['python-eq3bt==0.1.2']
|
||||
REQUIREMENTS = ['python-eq3bt==0.1.4']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -29,6 +29,7 @@ ATTR_STATE_WINDOW_OPEN = "window_open"
|
|||
ATTR_STATE_VALVE = "valve"
|
||||
ATTR_STATE_LOCKED = "is_locked"
|
||||
ATTR_STATE_LOW_BAT = "low_battery"
|
||||
ATTR_STATE_AWAY_END = "away_end"
|
||||
|
||||
DEVICE_SCHEMA = vol.Schema({
|
||||
vol.Required(CONF_MAC): cv.string,
|
||||
|
@ -152,6 +153,7 @@ class EQ3BTSmartThermostat(ClimateDevice):
|
|||
ATTR_STATE_LOW_BAT: self._thermostat.low_battery,
|
||||
ATTR_STATE_VALVE: self._thermostat.valve_state,
|
||||
ATTR_STATE_WINDOW_OPEN: self._thermostat.window_open,
|
||||
ATTR_STATE_AWAY_END: self._thermostat.away_end,
|
||||
}
|
||||
|
||||
return dev_specific
|
||||
|
|
|
@ -476,7 +476,7 @@ pysnmp==4.3.2
|
|||
python-digitalocean==1.10.1
|
||||
|
||||
# homeassistant.components.climate.eq3btsmart
|
||||
python-eq3bt==0.1.2
|
||||
python-eq3bt==0.1.4
|
||||
|
||||
# homeassistant.components.sensor.darksky
|
||||
python-forecastio==1.3.5
|
||||
|
|
Loading…
Add table
Reference in a new issue