mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
fix rotary encode example (#2573)
This commit is contained in:
parent
ca531ba52e
commit
36b3a33c05
@ -112,7 +112,7 @@ to the newly set internal value.
|
||||
value: 10
|
||||
|
||||
# Templated
|
||||
- sensor.my_rotary_encoder.publish:
|
||||
- sensor.rotary_encoder.set_value:
|
||||
id: my_rotary_encoder
|
||||
value: !lambda 'return -1;'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user