679d500e61bedad19452e476581fcefa6b84825e,homeassistant/components/switch/neato.py,NeatoConnectedSwitch,update,#NeatoConnectedSwitch#,141
Before Change
try:
self._state = self.robot.state
except req_HTTPError:
_LOGGER.error("Unable to retrieve to Robot State.")
self._state = None
return False
After Change
else:
self._clean_state = STATE_OFF
if self.type == SWITCH_TYPE_SCHEDULE:
_LOGGER.debug("self._state=%s", self._state)
if self.robot.schedule_enabled:
self._schedule_state = STATE_ON
else:
self._schedule_state = STATE_OFF
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: home-assistant/home-assistant
Commit Name: 679d500e61bedad19452e476581fcefa6b84825e
Time: 2016-11-19
Author: turbokongen@hotmail.com
File Name: homeassistant/components/switch/neato.py
Class Name: NeatoConnectedSwitch
Method Name: update
Project Name: home-assistant/home-assistant
Commit Name: df598544d6f5a72e7c951872cc5930d01d60ea62
Time: 2019-02-17
Author: msvinth@yahoo.com
File Name: homeassistant/components/netatmo/sensor.py
Class Name: NetAtmoData
Method Name: update
Project Name: home-assistant/home-assistant
Commit Name: 679d500e61bedad19452e476581fcefa6b84825e
Time: 2016-11-19
Author: turbokongen@hotmail.com
File Name: homeassistant/components/switch/neato.py
Class Name:
Method Name: setup_platform