I’m following a Lewis video tutorial to add a light into the Dashboard and to have the tempurature unit it for that room, but nothing seems to come up or work.
I have got the correct entity from within HA and is working ok.
Even then Button is un responsive and no clues on doing a Dashboard at all this is my first attemt and failing badly
Brilliant thank you ! Also when I posted it it formated it wrong too only thing I had missed was the S onto the States Rest of my code was good to go but its easily done with code to miss it! Thanks!
Also why are the buttons not working yet or do I need to do more for them to start to work? Has in the video hes are working right away but mine are doing nothing!
Yes its correcly spelt in the section where to add it but on the code editor its changing the code differently not sure why? And should I correct its mistakes?
yes, when I copy it to past to you it changes so the code is correct really
But its also turning the other icons light on and not the one Im asking too! Not sure why Toggle needs to be on but if toggle is not on no press on the button works.
I’m new to this so I might need to do other things for it to all start working as it should but it does not seem correct already!
On the video I posted you will see when I long press on the first button the light comes on in hose but no light on the icon! Then when I do the middle one the light on the icon comes on on the first one which is totaly not right
Ok, I didn’t notice that it’s no longer about the initial temperature issue, but about toggling the lights…
First: In the video one can see 3 horizontal cards, names are cut off. Your code above provides 2 cards. So I can only guess.
„Kitchen“ is a light group. If one of the group members is on the icon is colored. Normal behaviour. If you don’t want that configure the light group and set it to all.
Second: You have no color defined in the template card.
No offense, but don’t post pictures of your code, always use the cog wheel icon in the editor window —> preformatted text. Otherwise it’s hard to help.
Your color template is missing a closing bracket. And - normally - the state is on, not ON.
Sorry no offence taken! how I find it better for me to see the full code in a picture I’ve dyslexia why I make so many mistakes! So I will try to post both preformatted text code and a pic in furture for my references too!
Not toatly sure which braket you meen the () or the {} but on taking another guess I have done this code, which is still not doing it correctly.
So not sure if the spaces make a difference where the colour is? or sothing else causing all lthe icon lights to come on now.
I will add all code for each section and a video to show you how the icon lights are not working on there own!
light
There is no code added to it at all!
Kitch
{% if is_state('light.kitchen_light_bulbs','on')%}
orange
{% endif %}
Livin
{% if is_state('light.kitchen_light_bulbs','on')%}
blue
{% endif %}