Use Buttons instead of switches in midea example (#1845)
This commit is contained in:
parent
75c6a90c76
commit
f7668ba215
|
@ -252,17 +252,17 @@ component, as well as control the light of the LED display.
|
||||||
temperature: !lambda "return x;"
|
temperature: !lambda "return x;"
|
||||||
beeper: false # Optional. Beep on update.
|
beeper: false # Optional. Beep on update.
|
||||||
|
|
||||||
# template momentary switches for sending display control command and swing step actions
|
# template buttons for sending display control command and swing step actions
|
||||||
switch:
|
button:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: Display Toggle
|
name: Display Toggle
|
||||||
icon: mdi:theme-light-dark
|
icon: mdi:theme-light-dark
|
||||||
turn_on_action:
|
on_press:
|
||||||
midea_ac.display_toggle:
|
midea_ac.display_toggle:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: Swing Step
|
name: Swing Step
|
||||||
icon: mdi:tailwind
|
icon: mdi:tailwind
|
||||||
turn_on_action:
|
on_press:
|
||||||
midea_ac.swing_step:
|
midea_ac.swing_step:
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue