Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Power OFF button #7

Open
antonio1475 opened this issue Aug 15, 2023 · 2 comments
Open

Proposal: Power OFF button #7

antonio1475 opened this issue Aug 15, 2023 · 2 comments

Comments

@antonio1475
Copy link

I realized than by long-pressing the button, it powers off. No need to cycle through the speeds...

A Power Off can be added to the button section:

button:
  - platform: output
    name: "Increase speed"
    output: output1
    duration: 100ms
    id: button_press
    icon: mdi:fan-chevron-up
  - platform: output
    name: "Power Off"
    output: output1
    duration: 2s
    id: power_off
    icon: mdi:fan-off

1s wasn't enough, so I went straight to 2s.

I also renamed the normal button to Increase Speed, which is mostly its funciton (although it also turns off after speed 3...) and added icons:

image

@WeterPeter
Copy link

WeterPeter commented Jan 8, 2025

Hi @antonio1475, good proposal! I use this now.

Question, when I use this button to power off, the "Increase speed" value stays on the previous value in stead of going to 0. Is there a way to force the "Increase speed" value to set to 0 after pushing Power Off?

@antonio1475
Copy link
Author

Hi @antonio1475, good proposal! I use this now.

Question, when I use this button to power off, the "Increase speed" value stays on the previous value in stead of going to 0. Is there a way to force the "Increase speed" value to set to 0 after pushing Power Off?

The "Increase speed" doesn't have a value, it's a button. Are you referring to the current speed (values 0-3)?
If so, please check my latest comment in Making the uppavind show as a fan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants