425c027085f859adb0e650aa2a15bbd689ccd537,homeassistant/components/mqtt_statestream.py,,,#,21

Before Change


DOMAIN = "mqtt_statestream"

CONFIG_SCHEMA = vol.Schema({
    DOMAIN: cv.FILTER_SCHEMA.extend({
        vol.Required(CONF_BASE_TOPIC): valid_publish_topic,
        vol.Optional(CONF_PUBLISH_ATTRIBUTES, default=False): cv.boolean,
        vol.Optional(CONF_PUBLISH_TIMESTAMPS, default=False): cv.boolean
    })
}, extra=vol.ALLOW_EXTRA)


@asyncio.coroutine

After Change


CONFIG_SCHEMA = vol.Schema({
    DOMAIN: vol.Schema({
        vol.Optional(CONF_EXCLUDE, default={}): vol.Schema({
            vol.Optional(CONF_ENTITIES, default=[]): cv.entity_ids,
            vol.Optional(CONF_DOMAINS, default=[]):
                vol.All(cv.ensure_list, [cv.string])
        }),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: 425c027085f859adb0e650aa2a15bbd689ccd537
Time: 2017-11-17
Author: me@robbiet.us
File Name: homeassistant/components/mqtt_statestream.py
Class Name:
Method Name:


Project Name: GPflow/GPflow
Commit Name: be119b0bb043be437f9619c26cf0f9878a6a9090
Time: 2017-09-14
Author: art.art.v@gmail.com
File Name: gpflow/model.py
Class Name: Model
Method Name: __init__


Project Name: home-assistant/home-assistant
Commit Name: 13172971912267158cdac72f3634b2b26c7b0672
Time: 2017-11-17
Author: me@robbiet.us
File Name: homeassistant/components/mqtt_statestream.py
Class Name:
Method Name: