e3307fb1c2eaf4ff05da8676d71d29b0500b312b,homeassistant/components/sensor/hp_ilo.py,,,#,20
Before Change
vol.Required(CONF_USERNAME): cv.string,
vol.Required(CONF_PASSWORD): cv.string,
vol.Optional(CONF_MONITORED_VARIABLES, default=["server_name"]):
vol.All(cv.ensure_list, [vol.In(SENSOR_TYPES)]),
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
vol.Optional(CONF_PORT, default=DEFAULT_PORT): cv.port,
})
After Change
vol.All(cv.ensure_list, [vol.Schema({
vol.Required(CONF_NAME): cv.string,
vol.Required(CONF_SENSOR_TYPE):
vol.All(cv.string, vol.In(SENSOR_TYPES)),
vol.Optional(CONF_UNIT_OF_MEASUREMENT, default=None): cv.string,
vol.Optional(CONF_VALUE_TEMPLATE, default=None): cv.template
})]),
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: home-assistant/home-assistant
Commit Name: e3307fb1c2eaf4ff05da8676d71d29b0500b312b
Time: 2017-05-23
Author: bernd@bjws.nl
File Name: homeassistant/components/sensor/hp_ilo.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: 9ce2081110390211a08e5fb41b65679b9bfc8e48
Time: 2016-04-03
Author: jaharkes@cs.cmu.edu
File Name: homeassistant/components/mqtt/__init__.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: 74022a39782d4251d30b9942b566fb0eca8d67c1
Time: 2016-04-23
Author: Daniel.H.Iversen@ntnu.no
File Name: homeassistant/components/sensor/rfxtrx.py
Class Name:
Method Name: