Home Assistant Dashboard - Button Cards

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 24

  • @LuisRRodas
    @LuisRRodas Месяц назад

    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.

  • @rodneysmith1750
    @rodneysmith1750 6 месяцев назад +1

    Great video, with clear and concise descriptions and examples, thanks for sharing.

  • @SuggsyBlackburn
    @SuggsyBlackburn 4 месяца назад +1

    By far the best description I've seen, have subscribed and liked, now to watch your other videos, keep it up ***** (5 stars)

    • @Just_Maslo
      @Just_Maslo  4 месяца назад

      thanks mate, appreciate it

  • @wayneyeo186
    @wayneyeo186 Месяц назад

    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.

  • @hschwarz75
    @hschwarz75 2 месяца назад

    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.

    • @hschwarz75
      @hschwarz75 2 месяца назад

      BTW. For the toggle of the switch you can just use:
      action: ‚toggle‘ instead of ‚call-service‘ and all the additional stuff

  • @lionlion-g9d
    @lionlion-g9d 6 месяцев назад

    Perfect subject

  • @crisman72
    @crisman72 4 месяца назад

    Great Explanation for this card!
    Is it possible to change the color of the button (circle) to yellow when the light is ON?

    • @Just_Maslo
      @Just_Maslo  4 месяца назад

      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

    • @hschwarz75
      @hschwarz75 2 месяца назад

      I guess, he meant it more like this:
      - value: ‚on‘
      styles:
      card:
      - background-color: yellow

  • @Abo-El-Gooud
    @Abo-El-Gooud 6 месяцев назад

    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

    • @Just_Maslo
      @Just_Maslo  6 месяцев назад

      AHHHHH again!
      just add "- color: black" under the name variable?

  • @maglat
    @maglat 6 месяцев назад

    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

    • @Just_Maslo
      @Just_Maslo  6 месяцев назад +1

      hey mate, ill get back to you soon, lost my HA instance this weekend =="

    • @maglat
      @maglat 6 месяцев назад

      @@Just_Maslo cant wait :)

  • @johnhedge1429
    @johnhedge1429 2 месяца назад

    Simple question: How do I get an image into it, please?

  • @AnilKK05
    @AnilKK05 Месяц назад

    What is purpose of switch in the script

  • @Abo-El-Gooud
    @Abo-El-Gooud 6 месяцев назад

    😍😍😍

  • @freddyadesena
    @freddyadesena 6 месяцев назад

    what's the theme you've got installed there?

    • @Just_Maslo
      @Just_Maslo  6 месяцев назад

      hey mate;
      hacs/repository/236318024
      enjoy!

  • @Magnwb
    @Magnwb 2 месяца назад

    Could you provide the code please?

    • @Just_Maslo
      @Just_Maslo  2 месяца назад

      i will upload it onto my GIT "github.com/mmaslo"