ced3cd2616332af50bf9a8a4a7241aae017c34e8,homeassistant/components/sensor/neurio_energy.py,,,#,17

Before Change


    vol.Required(CONF_API_KEY): cv.string,
    vol.Required(CONF_API_SECRET): cv.string,
    vol.Optional(CONF_SENSOR_ID): cv.string,
    vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
})

After Change



ICON = "mdi:flash"

MIN_TIME_BETWEEN_DAILY_UPDATES = timedelta(seconds=150)
MIN_TIME_BETWEEN_ACTIVE_UPDATES = timedelta(seconds=10)

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
    vol.Required(CONF_API_KEY): cv.string,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: home-assistant/home-assistant
Commit Name: ced3cd2616332af50bf9a8a4a7241aae017c34e8
Time: 2017-03-16
Author: mezz@johnmihalic.com
File Name: homeassistant/components/sensor/neurio_energy.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: e479324db9bedb2e941e1d32d1af8c13df331e31
Time: 2017-05-18
Author: happyleaves.tfr@gmail.com
File Name: homeassistant/components/sensor/usps.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: f4d2ece2fed2f0727e50d3236cb3e0898046630e
Time: 2017-04-02
Author: tchello.mello@gmail.com
File Name: homeassistant/components/sensor/ring.py
Class Name:
Method Name: