8f774e9c531555cdf31d2ff5f955a9e27ad85404,homeassistant/components/xiaomi_aqara.py,,,#,11

Before Change


})

SERVICE_TO_METHOD = {
    SERVICE_PLAY_RINGTONE: {"method": "play_ringtone_service",
                            "schema": SERVICE_SCHEMA_PLAY_RINGTONE},
    SERVICE_STOP_RINGTONE: {"method": "stop_ringtone_service"},
    SERVICE_ADD_DEVICE: {"method": "add_device_service"},
    SERVICE_REMOVE_DEVICE: {"method": "remove_device_service",

After Change


})


GATEWAY_CONFIG = vol.Schema({
    vol.Optional(CONF_MAC): GW_MAC,
    vol.Optional(CONF_KEY, default=None):
        vol.All(cv.string, vol.Length(min=16, max=16)),
    vol.Optional(CONF_HOST): cv.string,
    vol.Optional(CONF_PORT, default=9898): cv.port,
})


def _fix_conf_defaults(config):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: home-assistant/home-assistant
Commit Name: 8f774e9c531555cdf31d2ff5f955a9e27ad85404
Time: 2017-11-02
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/xiaomi_aqara.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: 1e92417804ddc8c5ea2eb9a5d857d0a8ce3e25ab
Time: 2017-11-03
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/xiaomi_aqara.py
Class Name:
Method Name:


Project Name: regel/loudml
Commit Name: 1493e1bd7265a3adbb873a73d48994d7d1d6ae9e
Time: 2018-04-05
Author: sebastien.regel@gmail.com
File Name: loudml-elastic/loudml/elastic.py
Class Name: ElasticsearchDataSource
Method Name: ElasticsearchDataSource_1