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

[CI] Consolidate some tests (Q, R) (#8205)

This commit is contained in:
Keith Burzinski
2025-02-04 20:37:22 -06:00
committed by GitHub
parent cecce0f3cb
commit bf6874b52e
109 changed files with 795 additions and 1719 deletions

View File

@@ -1,25 +1,6 @@
sensor:
- platform: rotary_encoder
name: Rotary Encoder
id: rotary_encoder1
pin_a: 13
pin_b: 14
pin_reset: 15
filters:
- or:
- debounce: 0.1s
- delta: 10
resolution: 4
min_value: -10
max_value: 30
on_value:
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: 10
- sensor.rotary_encoder.set_value:
id: rotary_encoder1
value: !lambda "return -1;"
on_clockwise:
- logger.log: Clockwise
on_anticlockwise:
- logger.log: Anticlockwise
substitutions:
pin_a: GPIO12
pin_b: GPIO13
pin_reset: GPIO14
<<: !include common.yaml