mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 17:54:13 +01:00
Fix ultrasonic typo Fixes #62
This commit is contained in:
parent
16eeb3af31
commit
7264e3a4bf
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def to_code(config):
|
||||||
for trigger in gpio_output_pin_expression(config[CONF_TRIGGER_PIN]):
|
for trigger in gpio_output_pin_expression(config[CONF_TRIGGER_PIN]):
|
||||||
yield
|
yield
|
||||||
echo = None
|
echo = None
|
||||||
for trigger in gpio_input_pin_expression(config[CONF_ECHO_PIN]):
|
for echo in gpio_input_pin_expression(config[CONF_ECHO_PIN]):
|
||||||
yield
|
yield
|
||||||
rhs = App.make_ultrasonic_sensor(config[CONF_NAME], trigger, echo,
|
rhs = App.make_ultrasonic_sensor(config[CONF_NAME], trigger, echo,
|
||||||
config.get(CONF_UPDATE_INTERVAL))
|
config.get(CONF_UPDATE_INTERVAL))
|
||||||
|
|
Loading…
Reference in a new issue