4195254280fa29035fe4414cd211990893f939e7,homeassistant/components/switch/qwikswitch.py,,setup_platform,#Any#Any#Any#Any#,21
Before Change
// pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
Store add_devices for the switch components.
if discovery_info is None or "qsusb_id" not in discovery_info :
logging.getLogger(__name__).error(
"Configure main Qwikswitch component")
return False
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: 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
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