ulic75 / lovelace-mushroom

Custom Cards for Mushroom 🍄
Apache License 2.0
1 stars 0 forks source link

[Feature]: Set Toggle Action #30

Open benchristian88 opened 2 years ago

benchristian88 commented 2 years ago

Is your feature request related to a problem?

Would it be possible to provide an option to select which HVAC option is chosen when the Toggle Tap Action is used.

At present when the card is clicked with the toggle option set for the tap action, the hvac is set to auto on my heaters.

would be good to be able to set it to default to the heat option when clicked.

Describe the solution you'd like

It would be great to have an option to set which hvac item is actioned when the toggle /tap action is selected.

Describe alternatives you've considered

At present the heater goes to auto, then have to click to get the options, and click heat. Quick a few clicks. Wife not happy ;-(

Additional context

I would love to be able to default to the hvac actions also rather than the slider but appreciate this appears a mushroom issue. Thanks for the nice card though. I hope piiteya takes your card.

ulic75 commented 2 years ago

I believe this is an implementation detail of the particular climate integration you are using. You might be able to override the behavior by calling a script or something like that instead of the default toggle.