@FlyingSaucrDude wrote:
I’d like to be able to create (and delete!) new input entities (e.g. input_number, input_boolean, etc.) dynamically/programmatically. Here’s my goal:
I want to be able to allow users to create (and delete) an arbitrary number of alarms to wake them up (kind of like you can in most smartphone alarm clock apps). When a user hits the “new alarm” button, HA should create the corresponding set of input entities (the time for the alarm, whether or not it’s enabled, etc.), and display that via Lovelace.
I’m ambivalent about whether or not these new entities should persist across restarts of HA. (If they disappear when I restart HA, I’ll live with that for now.)
AFAICT, there’s no way to do this, even with AppDaemon. This post is the closest I’ve found, but it didn’t have a solution. It’s also over two years old, so maybe new features have been added to HA since then that I just can’t find?
Thanks in advance!
Posts: 1
Participants: 1