1f38e9fa571906e44534c0f58a086bf15b1f6e4c,homeassistant/components/wink.py,,,#,17

Before Change


SUBSCRIPTION_HANDLER = None

CONFIG_SCHEMA = vol.Schema({
    DOMAIN: vol.Schema({
        vol.Required(CONF_ACCESS_TOKEN): cv.string,
    }),
}, extra=vol.ALLOW_EXTRA)

After Change


CONF_MISSING_OATH_MSG = "Missing oath2 credentials."

CONFIG_SCHEMA = vol.Schema({
    DOMAIN: vol.Schema({
        vol.Inclusive(CONF_EMAIL, CONF_OATH,
                      msg=CONF_MISSING_OATH_MSG): cv.string,
        vol.Inclusive(CONF_PASSWORD, CONF_OATH,
                      msg=CONF_MISSING_OATH_MSG): cv.string,
        vol.Inclusive(CONF_CLIENT_ID, CONF_OATH,
                      msg=CONF_MISSING_OATH_MSG): cv.string,
        vol.Inclusive(CONF_CLIENT_SECRET, CONF_OATH,
                      msg=CONF_MISSING_OATH_MSG): cv.string,
        vol.Exclusive(CONF_EMAIL, CONF_OATH,
                      msg=CONF_DEFINED_BOTH_MSG): cv.string,
        vol.Exclusive(CONF_ACCESS_TOKEN, CONF_OATH,
                      msg=CONF_DEFINED_BOTH_MSG): cv.string,
        vol.Optional(CONF_USER_AGENT, default=None): cv.string
    })
}, extra=vol.ALLOW_EXTRA)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: home-assistant/home-assistant
Commit Name: 1f38e9fa571906e44534c0f58a086bf15b1f6e4c
Time: 2016-10-01
Author: wjs.scanlon@gmail.com
File Name: homeassistant/components/wink.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 06d3d8b827f59d6f0ea1d4be1b3ec038b251ad4a
Time: 2017-11-03
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/tellstick.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 1f38e9fa571906e44534c0f58a086bf15b1f6e4c
Time: 2016-10-01
Author: wjs.scanlon@gmail.com
File Name: homeassistant/components/wink.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 2486c9af35f0ef65d7af99771a1c934931033582
Time: 2017-09-24
Author: mail@fabian-affolter.ch
File Name: homeassistant/components/notify/simplepush.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: cdc2df012ce19c6f1c254d86f98441272f962d02
Time: 2017-11-03
Author: pascal.vizeli@syshack.ch
File Name: homeassistant/components/tellstick.py
Class Name:
Method Name: