First of all, thank you Mattias for sharing the foundation for this dashboard! Out of the 3 I have tried, this is the only one that I have somewhat gotten to work. I am brand new to Home Assistant so I am still digesting how things work.
I am wondering if I can get some clarification on a couple of things:
1: Is there a way to change the icon based on the state of the device? For example, I am able to turn the wifi on or off to certain devices in my network. I have that part working. What I want to do is change the icon between wifi and wifi-off like in the picture below. (For the OCD: I have since made them to match)
2: In button_card_templates.yml, I see, and have used, that there is a way to add your own custom SVGs to make icons. Is there a way to be able to use the material icons without having to get the SVG paths? (Ex: being able to use mdi:wifi instead of having to use the paths)
3: I am not able to get pop-ups to work at all. I followed the instructions in this post to get started and none of the pop ups are going. If I click a button, nothing happens. For example, I am pretty sure that I have my iRobot vacuum set up correctly, but if I hit the button for it, nothing pops up. If I need to upload my code, let me know so I can scrub things and upload it somewhere.
When I reload the dashboard, this is what I get: while parsing a flow sequence in "/config/ui-lovelace.yaml", line 125, column 19 expected ',' or ']', but got '?' in "/config/ui-lovelace.yaml", line 125, column 56
Am I using this correctly?
EDIT: After sifting through a few posts, I was able to combine them in to a working form:
I am still having a ton of trouble getting pop ups to work. I have been reading this thread all day and can not get them to work at all. Here is my configuration.yml:
Did you install browser-mod? Check this part of the read me. I missed that at first and couldn’t figure out why the pop-ups weren’t working either.
Edit: Looks like you do have browser-mod installed. Did you restart HA? Only other thing I can think of is did you copy over the popup folder and all the yaml files contained inside it?
Template warning: ‘timestamp_custom’ got invalid input ‘2021-12-12 01:39:16’ when rendering template ‘{% set time = states(‘sensor.samsung_tab_last_app_start’) %} {{ strptime(time, ‘%d/%m/%y %H:%M:%S %p’) | timestamp_custom | replace(’ ‘,‘T’) | as_datetime | as_local }}’ but no default was specified. Currently ‘timestamp_custom’ will return ‘2021-12-12 01:39:16’, however this template will fail to render in Home Assistant core 2022.1
Open the debug of the explorer and see if you have any code errors or something that is not loading and the other is to see the home assistant log to see if there is something that is not loaded or with errors.