now try to put the ARM DISARM script in hadashboard. ARM is easy, the DISARM script needs to type in a CODE in order to disarm the alarm. How could I do this?
I think I’m missing something to make the sliders work for my lamp.
I copied your files and put them in etc/config/hadaemon (where my appdaemon.yaml is located) in the folder /custom_widgets like it is written in this long post
I added like you wrote the code to my hello.dsh file
it says: Unable to find widget type 'baselight_with_brightness"
Am I missing some installation steps ?
In the description you say “place the files in the directory /conf/custom_widgets” does this mean the “custom_widgets” must go in the config folder where the configuration.yaml is located?
Maybe you are expecting some knowledge level which i dont have I also read the full description of setting up the dashboard and it worked for me…
it might be partly that i am not a native english speaking person
yeah the folder custom_widgets needs to go in the folder where your appdaemon.yaml is located.
in that folder you need to place the yaml files and the files from the sub folder called baselight_with_brightness
so you get:
etc/config/hadaemon/custom_widgets/light_with_brightness.yaml
etc/config/hadaemon/custom_widgets/base_light_with_brightness/light_with_brightness.css
etc/config/hadaemon/custom_widgets/base_light_with_brightness/light_with_brightness.html
etc/config/hadaemon/custom_widgets/base_light_with_brightness/light_with_brightness.js
any valid css will work on that place and will change the look of the slider.
the slider is in a sub container in the widget.
you can change the size or placement from the container by using: