4c03d670c1443bc2d0d6bed6678e4eff15960029,homeassistant/components/switch/wink.py,,setup_platform,#Any#Any#Any#Any#,14
Before Change
import pywink
add_devices(WinkToggleDevice(switch) for switch in pywink.get_switches())
add_devices(WinkToggleDevice(switch) for switch in
pywink.get_powerstrip_outlets())
add_devices(WinkToggleDevice(switch) for switch in pywink.get_sirens())
class WinkToggleDevice(WinkDevice, ToggleEntity):
After Change
for switch in pywink.get_powerstrip_outlets():
add_devices([WinkToggleDevice(switch, hass)])
for switch in pywink.get_sirens():
add_devices([WinkToggleDevice(switch, hass)])
class WinkToggleDevice(WinkDevice, ToggleEntity):
Representation of a Wink toggle device.
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 6
Instances Project Name: home-assistant/home-assistant
Commit Name: 4c03d670c1443bc2d0d6bed6678e4eff15960029
Time: 2016-11-30
Author: wjs.scanlon@gmail.com
File Name: homeassistant/components/switch/wink.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 1c6ba989a9a94cd3cc0ec91527bfa9d1014ab680
Time: 2017-02-23
Author: erik.eriksson@yahoo.com
File Name: homeassistant/components/binary_sensor/volvooncall.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 1c6ba989a9a94cd3cc0ec91527bfa9d1014ab680
Time: 2017-02-23
Author: erik.eriksson@yahoo.com
File Name: homeassistant/components/sensor/volvooncall.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: 80a794e587f9f63f28afea741f97e36a7ca8e427
Time: 2017-02-01
Author: wjs.scanlon@gmail.com
File Name: homeassistant/components/climate/wink.py
Class Name:
Method Name: setup_platform
Project Name: home-assistant/home-assistant
Commit Name: dee6355cc59d7d84f8f7f3a4f1a8dc9b13f9d99e
Time: 2016-05-21
Author: Daniel.Kemp@especiallyrelative.net
File Name: homeassistant/components/media_player/onkyo.py
Class Name:
Method Name: setup_platform