Update dev library URI

This commit is contained in:
Otto Winter 2018-05-21 20:55:39 +02:00
parent 677fe8bacf
commit 2e7d8540fb
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
4 changed files with 5 additions and 4 deletions

View file

@ -30,7 +30,7 @@ BINARY_SENSOR_SCHEMA = cv.MQTT_COMPONENT_SCHEMA.extend({
cv.GenerateID('mqtt_binary_sensor', CONF_MQTT_ID): cv.register_variable_id,
cv.GenerateID('binary_sensor'): cv.register_variable_id,
vol.Optional(CONF_INVERTED): cv.boolean,
vol.Optional(CONF_DEVICE_CLASS): vol.All(vol.Lower, cv.one_of(DEVICE_CLASSES)),
vol.Optional(CONF_DEVICE_CLASS): vol.All(vol.Lower, cv.one_of(*DEVICE_CLASSES)),
vol.Optional(CONF_ON_PRESS): vol.All(cv.ensure_list, [automation.AUTOMATION_SCHEMA]),
vol.Optional(CONF_ON_RELEASE): vol.All(cv.ensure_list, [automation.AUTOMATION_SCHEMA]),
vol.Optional(CONF_ON_CLICK): vol.All(cv.ensure_list, [automation.AUTOMATION_SCHEMA.extend({

View file

@ -39,7 +39,7 @@ FAN_SPEEDS = {
def validate_fan_speed(value):
return vol.All(vol.Upper, cv.one_of(FAN_SPEEDS))(value)
return vol.All(vol.Upper, cv.one_of(*FAN_SPEEDS))(value)
def setup_fan_core_(fan_var, mqtt_var, config):

View file

@ -25,7 +25,7 @@ COUNT_MODES = {
'DECREMENT': global_ns.PCNT_COUNT_DEC,
}
COUNT_MODE_SCHEMA = vol.All(vol.Upper, cv.one_of(COUNT_MODES))
COUNT_MODE_SCHEMA = vol.All(vol.Upper, cv.one_of(*COUNT_MODES))
PLATFORM_SCHEMA = sensor.PLATFORM_SCHEMA.extend({
cv.GenerateID('pulse_counter', CONF_MAKE_ID): cv.register_variable_id,

View file

@ -18,7 +18,8 @@ from esphomeyaml.helpers import App, add, color
_LOGGER = logging.getLogger(__name__)
DEFAULT_LIBRARY_URI = u'https://github.com/OttoWinter/esphomelib.git#v1.5.3'
DEFAULT_LIBRARY_URI = u'https://github.com/OttoWinter/esphomelib.git#' \
u'2693649d487bcb2e351d4b7b7296bd9237e963f7'
BUILD_FLASH_MODES = ['qio', 'qout', 'dio', 'dout']