mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 00:37:13 +00:00
parent
42ba2a68ce
commit
6c0fc65eaf
@ -23,7 +23,7 @@ from homeassistant.helpers.entity import Entity
|
|||||||
from .const import DOMAIN
|
from .const import DOMAIN
|
||||||
from . import local_auth
|
from . import local_auth
|
||||||
|
|
||||||
REQUIREMENTS = ['python-nest==4.0.2']
|
REQUIREMENTS = ['python-nest==4.0.3']
|
||||||
|
|
||||||
_CONFIGURING = {}
|
_CONFIGURING = {}
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
@ -86,6 +86,7 @@ async def async_nest_update_event_broker(hass, nest):
|
|||||||
_LOGGER.debug("dispatching nest data update")
|
_LOGGER.debug("dispatching nest data update")
|
||||||
async_dispatcher_send(hass, SIGNAL_NEST_UPDATE)
|
async_dispatcher_send(hass, SIGNAL_NEST_UPDATE)
|
||||||
else:
|
else:
|
||||||
|
_LOGGER.debug("stop listening nest.update_event")
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
|
@ -133,7 +133,8 @@ class NestBasicSensor(NestSensorDevice):
|
|||||||
elif self.variable in PROTECT_SENSOR_TYPES \
|
elif self.variable in PROTECT_SENSOR_TYPES \
|
||||||
and self.variable != 'color_status':
|
and self.variable != 'color_status':
|
||||||
# keep backward compatibility
|
# keep backward compatibility
|
||||||
self._state = getattr(self.device, self.variable).capitalize()
|
state = getattr(self.device, self.variable)
|
||||||
|
self._state = state.capitalize() if state is not None else None
|
||||||
else:
|
else:
|
||||||
self._state = getattr(self.device, self.variable)
|
self._state = getattr(self.device, self.variable)
|
||||||
|
|
||||||
|
@ -1059,7 +1059,7 @@ python-mpd2==1.0.0
|
|||||||
python-mystrom==0.4.4
|
python-mystrom==0.4.4
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
python-nest==4.0.2
|
python-nest==4.0.3
|
||||||
|
|
||||||
# homeassistant.components.device_tracker.nmap_tracker
|
# homeassistant.components.device_tracker.nmap_tracker
|
||||||
python-nmap==0.6.1
|
python-nmap==0.6.1
|
||||||
|
@ -156,7 +156,7 @@ pyqwikswitch==0.8
|
|||||||
python-forecastio==1.4.0
|
python-forecastio==1.4.0
|
||||||
|
|
||||||
# homeassistant.components.nest
|
# homeassistant.components.nest
|
||||||
python-nest==4.0.2
|
python-nest==4.0.3
|
||||||
|
|
||||||
# homeassistant.components.sensor.whois
|
# homeassistant.components.sensor.whois
|
||||||
pythonwhois==2.4.3
|
pythonwhois==2.4.3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user