80bc2666ac4205c3fb031e8f6f78cbdc5ec83027,homeassistant/components/climate/homematic.py,HMThermostat,_init_data_struct,#HMThermostat#,122
Before Change
// support humidity
if "ACTUAL_HUMIDITY" in self._hmdevice.SENSORNODE:
self._data.update({"ACTUAL_HUMIDITY": STATE_UNKNOWN})
After Change
def _init_data_struct(self):
Generate a data dict (self._data) from the Homematic metadata.
// Add state to data dict
self._state = next(iter(self._hmdevice.WRITENODE.keys()))
self._data[self._state] = STATE_UNKNOWN
// support state
if HM_CONTROL_MODE in self._hmdevice.ATTRIBUTENODE:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: home-assistant/home-assistant
Commit Name: 80bc2666ac4205c3fb031e8f6f78cbdc5ec83027
Time: 2017-02-14
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/climate/homematic.py
Class Name: HMThermostat
Method Name: _init_data_struct
Project Name: stratosphereips/StratosphereLinuxIPS
Commit Name: d1d0d8e9bc94a080952209dd53a800be2813ac97
Time: 2019-04-07
Author: eldraco@gmail.com
File Name: slips/core/database.py
Class Name: Database
Method Name: setInfoForIPs
Project Name: facebook/FAI-PEP
Commit Name: dd4536dc24af728c326ce6e50854dd43e4a9e034
Time: 2020-04-15
Author: huaminli@fb.com
File Name: benchmarking/download_benchmarks/download_benchmarks.py
Class Name: DownloadBenchmarks
Method Name: downloadFile