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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user