Great explanation. Nube here. When i tried it, the picture did not show up. I suspect I am missing the theme that goes with the button-card. Every day I learn more, and your video is helping me get there. What i am going to do is add comments to any yaml files I use, to list all dependencies it uses. That will help my future self create more code, and know for certain it will work if I share it with anyone.
Great video and love how you describe what the code does on how to customize it. Instead of actions how would you edit the code to show state of entity? I am trying to make a person card with location, phone battery state, ringer status and steps if possible.
Your video is exactly I was looking or a while now. very great. could you help me a bit. Below the titel of the card, I would like to display some sensor information which are relevant from this room, like temperature, co2 air quality, humidity, and a small icon which lights up when there is presence in the room. Could you point me in the right direction to extend these kind of values below the wording of the room? many thanks in advance
Great explanation. Nube here. When i tried it, the picture did not show up. I suspect I am missing the theme that goes with the button-card. Every day I learn more, and your video is helping me get there. What i am going to do is add comments to any yaml files I use, to list all dependencies it uses. That will help my future self create more code, and know for certain it will work if I share it with anyone.
Great video and love how you describe what the code does on how to customize it. Instead of actions how would you edit the code to show state of entity? I am trying to make a person card with location, phone battery state, ringer status and steps if possible.
Great video, with clear and concise descriptions and examples, thanks for sharing.
thanks mate :)
By far the best description I've seen, have subscribed and liked, now to watch your other videos, keep it up ***** (5 stars)
thanks mate, appreciate it
Wow. Very good explanation and very nice card. I‘m going to use it as a base for my room cards. Thank you. I subscribed of course.
BTW. For the toggle of the switch you can just use:
action: ‚toggle‘ instead of ‚call-service‘ and all the additional stuff
Perfect subject
Simple question: How do I get an image into it, please?
What is purpose of switch in the script
Great Explanation for this card!
Is it possible to change the color of the button (circle) to yellow when the light is ON?
something like this?
i1:
card:
type: custom:button-card
entity: switch.shelly_2_switch_2
show_name: false
aspect_ratio: 1/1
icon: mdi:lightbulb-off
state:
- value: 'on'
icon: mdi:lightbulb-on
styles:
icon:
- color: '#e6b800'
- value: 'off'
icon: mdi:lightbulb-off
styles:
icon:
- color: '#404040'
tap_action:
action: call-service
service: switch.toggle
data: {}
target:
entity_id:
- switch.shelly_2_switch_2
I guess, he meant it more like this:
- value: ‚on‘
styles:
card:
- background-color: yellow
Your video is exactly I was looking or a while now. very great. could you help me a bit. Below the titel of the card, I would like to display some sensor information which are relevant from this room, like temperature, co2 air quality, humidity, and a small icon which lights up when there is presence in the room. Could you point me in the right direction to extend these kind of values below the wording of the room? many thanks in advance
hey mate, ill get back to you soon, lost my HA instance this weekend =="
@@Just_Maslo cant wait :)
the name that u have is Dinning in your config is black and in mine is white and i want to change its color but i dont know how
AHHHHH again!
just add "- color: black" under the name variable?
😍😍😍
what's the theme you've got installed there?
hey mate;
hacs/repository/236318024
enjoy!
Could you provide the code please?
i will upload it onto my GIT "github.com/mmaslo"