30f74bb3caf84883ca2c2e0bfc51131a1e731ffd,homeassistant/components/wink.py,,setup,#Any#Any#,28
Before Change
("garage_door", pywink.get_garage_doors, DISCOVER_GARAGE_DOORS)):
if func_exists():
component = get_component(component_name)
// Ensure component is loaded
bootstrap.setup_component(hass, component.DOMAIN, config)
// Fire discovery event
hass.bus.fire(EVENT_PLATFORM_DISCOVERED, {
ATTR_SERVICE: discovery_type,
ATTR_DISCOVERED: {}
})
return True
After Change
("garage_door", pywink.get_garage_doors)):
if func_exists():
discovery.load_platform(hass, component_name, DOMAIN, None, config)
return True
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: home-assistant/home-assistant
Commit Name: 30f74bb3caf84883ca2c2e0bfc51131a1e731ffd
Time: 2016-06-11
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/wink.py
Class Name:
Method Name: setup
Project Name: home-assistant/home-assistant
Commit Name: 30f74bb3caf84883ca2c2e0bfc51131a1e731ffd
Time: 2016-06-11
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/verisure.py
Class Name:
Method Name: setup
Project Name: home-assistant/home-assistant
Commit Name: e0e9d3c57b6e61525b026b1f504b85a6a3de5fd4
Time: 2016-06-25
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/homematic.py
Class Name:
Method Name: system_callback_handler
Project Name: home-assistant/home-assistant
Commit Name: 30f74bb3caf84883ca2c2e0bfc51131a1e731ffd
Time: 2016-06-11
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/wink.py
Class Name:
Method Name: setup