4195254280fa29035fe4414cd211990893f939e7,homeassistant/components/switch/qwikswitch.py,,setup_platform,#Any#Any#Any#Any#,21
Before Change
qsusb = qwikswitch.QSUSB[discovery_info["qsusb_id"]]
for item in qsusb.ha_devices:
if item["type"] == "switch":
dev = QSSwitch(item, qsusb)
add_devices([dev])
qsusb.ha_objects[item["id"]] = dev
After Change
"Configure main Qwikswitch component")
return False
add_devices(qwikswitch.QSUSB["switch"])
return True
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: home-assistant/home-assistant
Commit Name: 4195254280fa29035fe4414cd211990893f939e7
Time: 2016-07-23
Author: kellerza@gmail.com
File Name: homeassistant/components/switch/qwikswitch.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 903cda08b153400849409c253cbc8051af53a503
Time: 2018-01-08
Author: cameron.b.llewellyn@gmail.com
File Name: homeassistant/components/switch/insteon_local.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 4195254280fa29035fe4414cd211990893f939e7
Time: 2016-07-23
Author: kellerza@gmail.com
File Name: homeassistant/components/light/qwikswitch.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 903cda08b153400849409c253cbc8051af53a503
Time: 2018-01-08
Author: cameron.b.llewellyn@gmail.com
File Name: homeassistant/components/light/insteon_local.py
Class Name:
Method Name: setup_platform