#hi i want to ask maybe someone has
1 messages · Page 1 of 1 (latest)
hi, I want to make a code that can be used to add a new device then setting the working hours of each smart device which can then be directly used in the overview home assistant. Honestly, I'm not good at code, maybe there is a code that is easy to understand? I want to send a picture about what I want to make, but I can't🙏
You can post images to sites like imgur
However, you add a "device" following the documentation for the relevant integration
Then you can write automations using YAML, or using a UI approach like #node-red-archived
like this🙏
I want to make it like this, i want the user can add multiple device then they can setting the schedule as they want
oh sorry, how if i want to make the user can add the new device and set up the schedule by theirself? So I don't have to set the helper one by one
They can't
Adding a device requires changing HA's configuration
Setting up any integration requires changing HA's configuration
I want to make it like this, where the user can directly determine what device and what time it will turn on, turn off at what time
so it's directly in the overview (interface) section when the device is connected to the home assistant. Users can directly determine what time it will be turned on, without having to do it through the helpers one by one
There's nothing in HA that I'm aware of that'll allow that - you'd have to build it