Giter VIP home page Giter VIP logo

Comments (5)

Michthe avatar Michthe commented on June 11, 2024

Hi, i tried to make a card according your video, but it doesn´t works correctly. If i switch any light on, the icon doesn´t change the color. Is it because entity is "switch" and not "light" or did I something wrong. Many thanks for help.
Snímek obrazovky 2024-02-27 205915

from home-assistant_config.

BeardedTinker avatar BeardedTinker commented on June 11, 2024

Not sure, but it could be that. Did you try to create virtual light from switch and see if that helps?
https://www.home-assistant.io/integrations/switch_as_x/

from home-assistant_config.

Michthe avatar Michthe commented on June 11, 2024

Thank you for your reply. I tried it but it has no effect. This behavior is only on the room-card, on other tabs the icon changes its state. I will still look for some solutions.
Thanks a lot for your videos, they are very inspiring and understandable even for beginners. I myself have HA only 2 weeks, but thanks to your videos I am moving very fast and the dashboards are getting nice and clear.

from home-assistant_config.

mariusbtro avatar mariusbtro commented on June 11, 2024

Hi! You must use: state_color: true

from home-assistant_config.

Michthe avatar Michthe commented on June 11, 2024

Hi! You must use: state_color: true

hi, it works, thank you so much.

from home-assistant_config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.