From 36b3a33c055c0d799a563e32ff288a46c9ac7dc1 Mon Sep 17 00:00:00 2001 From: lillborje71 <44804949+lillborje71@users.noreply.github.com> Date: Thu, 5 Jan 2023 00:34:00 +0100 Subject: [PATCH] fix rotary encode example (#2573) --- components/sensor/rotary_encoder.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sensor/rotary_encoder.rst b/components/sensor/rotary_encoder.rst index eea9eac8a..476b4319c 100644 --- a/components/sensor/rotary_encoder.rst +++ b/components/sensor/rotary_encoder.rst @@ -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;'