GeorgeSG / lovelace-time-picker-card

🕰️ Time Picker Card for Home Assistant's Lovelace UI
MIT License
209 stars 14 forks source link

Add input_boolean toggle option #15

Closed SanderHestvik closed 3 years ago

SanderHestvik commented 3 years ago

Problem

When using this to set my wake up alarm time it would be nice to have an option to toggle the alarm on and off

Suggested feature / solution

Option to add an input_boolean toggle to the card in order to toggle automations related to the selected time

GeorgeSG commented 3 years ago

Thank you for the suggestion!

This is currently outside the scope of Time Picker Card. I'm trying to keep the functionality focused to a single entity - the input_datetime the users provide.

Adding control of a second Home Assistant entity will increase the complexity and open the flood gates for a lot of other custom features. So with that in mind, I'm closing this FR for now. If we drop the "single-entity" principle in the future, we'll revisit this.

MacDada commented 11 months ago

yeah, i'm looking for the same thing

right now i'm using Horizontal Stack Card with Entities on the left to have the switch - unfortunately it looks… hmm… bad :P

Screenshot 2023-12-08 at 16 44 26