1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-19 11:42:20 +01:00

Update Hassio base image to 1.4.1 (#484)

* Update Hassio base image to 1.4.1

* Fix rotary encoder typo

Fixes https://github.com/esphome/issues/issues/136
This commit is contained in:
Otto Winter
2019-03-17 20:41:07 +01:00
committed by GitHub
parent 0d7bb1286a
commit 7ad2d86929
11 changed files with 54 additions and 55 deletions

View File

@@ -63,7 +63,7 @@ def to_code(config):
if CONF_MIN_VALUE in config:
add(encoder.set_min_value(config[CONF_MIN_VALUE]))
if CONF_MAX_VALUE in config:
add(encoder.set_min_value(config[CONF_MAX_VALUE]))
add(encoder.set_max_value(config[CONF_MAX_VALUE]))
sensor.setup_sensor(encoder, config)
setup_component(encoder, config)