26526ca57ab847cefcbd0fbf8f61e4108ac101b1,homeassistant/helpers/config_validation.py,,,#,260
Before Change
"Invalid time zone passed in. Valid options can be found here: "
"http://en.wikipedia.org/wiki/List_of_tz_database_time_zones")
weekdays = vol.All(ensure_list, [vol.In(WEEKDAYS)])
// Validator helpers
After Change
raise vol.Invalid("invalid temperature unit (expected C or F)")
unit_system = vol.All(vol.Lower, vol.Any(CONF_UNIT_SYSTEM_METRIC,
CONF_UNIT_SYSTEM_IMPERIAL))
def template(value):
Validate a jinja2 template.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: home-assistant/home-assistant
Commit Name: 26526ca57ab847cefcbd0fbf8f61e4108ac101b1
Time: 2016-08-04
Author: that@teagantotally.rocks
File Name: homeassistant/helpers/config_validation.py
Class Name:
Method Name:
Project Name: home-assistant/home-assistant
Commit Name: 6354399d55688a77359c78b3d9914d001208af7e
Time: 2016-04-28
Author: paulus@paulusschoutsen.nl
File Name: homeassistant/components/automation/time.py
Class Name:
Method Name:
Project Name: acoular/acoular
Commit Name: da2ef8e56977de0ea98ba0b5af2c6c9d79318909
Time: 2018-12-20
Author: gejohe@web.de
File Name: acoular/fbeamform.py
Class Name: SteeringVector
Method Name: SteeringVector_1