AnthonMS / my-cards

Bundle of my custom Lovelace cards for Home Assistant. Includes: my-slider, my-slider-v2, my-button
Other
101 stars 26 forks source link

[Feature]: Let the slider be able to activate scripts #58

Open GD-Dal opened 1 month ago

GD-Dal commented 1 month ago

Is your feature request related to a problem?

When I try to use a script as an entity, I get this message: _Entity has to be one of the following: light, input_number, number, media_player, cover, fan, switch, input_boolean, lock_

Describe the solution you'd like

It would be nice to have the opportunity to activate pre-made scripts. (script.turn_off_all_lights for example) Would be nice to use a slider for this instead of a button to decrease accidental button presses

Describe alternatives you've considered

No response

Additional context

No response

AnthonMS commented 1 month ago

Thank you for your request! I'm glad you find the card useful.

I will add this the next time I'm fixing stuff or working on it in general. But there is a lot of stuff on my plate at the moment, so I don't know when that will be. But it should be quick and easy to add. And with all these issues being created I should definitely put it higher on my to-do list. But haven't even updated my HA setup the past 4-5 months.

I apologize for not being able to give a timeline. Contributions are very welcome and will be merged fast.