mayker
(maykar (pronounced "maker" with a southern accent))
935
The media_query option is just another condition for an exception. If you use media_query: "(max-width: 500px)" any device that has a screen width of less than or equal to 500px will use the CCH config in that exception. CCH doesn’t change the layout of Lovelace views.
You could use a media_query exception in CCH to show a view that uses layout-card for that device
So this might be a really stupid question, but is there a way to figure out what the user is in YAML mode? I used to use the card before I switched to full YAML and have somehow lost the ability to hide different tabs. I have roommates and they all have different usernames in Home Assistant, but I guess the actual user is different?
Thanks!
mayker
(maykar (pronounced "maker" with a southern accent))
938
Not a stupid question at all. If you have a bunch of users it would be difficult to know what they used as their user’s name.
The easiest way would be to go into the HA sidebar and select “Configuration” then “Users”. The names listed there are the user’s names.
Sorry for my stupid question. But… where is the www/custom-lovelace/compact-custom-header/ folder?
Should I create these directories? Where exactly?
So far, I’m only using the conf file located here: /home/homeassistant/.homeassistant/configuration.yaml
mayker
(maykar (pronounced "maker" with a southern accent))
944
This guide is a great resource on how to start using custom lovelace addons:
You need to create the folder and restart, its all in the guide