b0e6f349762357692d268d29687daf8d7c23be72,homeassistant/components/netatmo/sensor.py,,setup_platform,#Any#Any#Any#Any#,101
Before Change
data, module_name, condition.lower(),
config.get(CONF_STATION)))
for module_name, _ in not_handled.items():
_LOGGER.error("Module name: "%s" not found", module_name)
if dev:
add_entities(dev, True)
After Change
// otherwise add all modules and conditions
try:
dev.extend(find_devices(data))
except requests.exceptions.Timeout:
call_later(hass, NETATMO_UPDATE_INTERVAL,
lambda _: _retry(data))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: home-assistant/home-assistant
Commit Name: b0e6f349762357692d268d29687daf8d7c23be72
Time: 2019-06-14
Author: mail@dahoiv.net
File Name: homeassistant/components/netatmo/sensor.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 9f54bcc21b1744f2850a35e54903f3581d14badb
Time: 2015-12-23
Author: marhje52@kth.se
File Name: homeassistant/components/sensor/mysensors.py
Class Name:
Method Name: setup_platform
Project Name: idank/explainshell
Commit Name: 88656f7fe44eb559f1d8e90bc3d6d3327992e4a3
Time: 2013-09-07
Author: idankk86@gmail.com
File Name: explainshell/parser.py
Class Name: CommandLineParser
Method Name: parse_command