-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Room Card: Temperature & Brightness together, plus custom temperature entity #1181
Comments
@antonio1475 Hey. I don't know if I should ask here but I really like the room cards with 8 sensors. Could you share how you got it done, please? :) |
Click to expand code
Click to expand code
|
@antonio1475 Thank you very much!! :-) |
Is your enhancement request related to a problem? Please describe.
I use Room Cards with the light entity defining the card color/state, so I have the light status/brightness.
But, I also want to see the temperature when I have a sensor in that room.
Currently, both cannot co-exist.
Describe the solution you'd like
Ability to have both Brightness & Temperature, while keeping the light feature for the card (i.e. defining a custom entity for temp in that room).
Describe alternatives you've considered
Here's the code I've arrived to:
Result:
![image](https://user-images.githubusercontent.com/63130724/220697845-37fccecd-4547-42e7-b34b-292694790d06.png)
Additional context
I haven't tested the code with entities other than lights.
This relates a bit to #656
PS: I do not know how to submit PRs and such, so I'm sharing the code for anyone to use or submit.
@kepath I see that you did the last update to card_room so I'd be happy if you review this.
Cheers
The text was updated successfully, but these errors were encountered: