1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-04 20:32:21 +01:00

Update dev library URI

This commit is contained in:
Otto Winter
2018-05-21 20:55:39 +02:00
parent 677fe8bacf
commit 2e7d8540fb
4 changed files with 5 additions and 4 deletions

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,