I’m slowly coming up the steep learning curve. Can someone please point me in the right direction:
-
I see categories or controls titled “Lovelace.” Without a long history lesson, what is Lovelace? Is it something included or an add-on? Is it a modern control as opposed to a legacy type? When should I use it or not use it? “Lovelace controls” as opposed to what other kids of controls?
-
I see controls posted on github, but no instructions on how to install them. Most are two files. One file seems to be yaml, and the other is code in some programming language, guessing it’s some weird custom flavor of python that isn’t used anywhere else in the world. If I want to use these controls, do I need to muck about in the filesystem? Seems likely to break the whole system with a misplaced character. What folder do you put these files in? They often have the same names on github. Do you make a folder for each control? Seems like there should be an easy way to just say “add this control” instead of hacking files each time.
-
Is there a simple way to make new controls without manually editing files? Are there any “hello world” - type examples? I was going to start by making some buttons to select radio volume. No problem adding a button and setting an action. Works fine. Had to specify the instance name for each button. It seems like there should be a way to specify it only once as a parameter for a group of buttons, as it will be a huge pain to change if I get a different device.
The next step would be to see if there was a way to make a button where I just needed to specify the device and the preset + see if there is a way to change the color of the button when the volume is set to the level used by the button. Each button looks like this:
show_name: false
show_icon: true
type: button
entity: media_player.living_room
icon: mdi:volume-low
tap_action:
action: call-service
service: media_player.volume_set
target:
device_id: abcdef01920112321321312321
data:
volume_level: 0.4
show_state: false
name: Soft