Skip to content
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

Color problem #24

Closed
vring0 opened this issue Jul 16, 2021 · 4 comments
Closed

Color problem #24

vring0 opened this issue Jul 16, 2021 · 4 comments
Labels
bug Something isn't working

Comments

@vring0
Copy link

vring0 commented Jul 16, 2021

Below is a video demonstrating the problem. When the kettle is in a heating state, it turns orange. When the kettle is off, it should return to its silvery color. After refreshing the browser page, the color of the model is correct. I think this is a bug.

https://youtu.be/ofSqNL5Z8Jw

@vring0 vring0 added the bug Something isn't working label Jul 16, 2021
@vring0
Copy link
Author

vring0 commented Jul 16, 2021

image

I found the reason, it is necessary to register the off state in the configuration. You can add a function to return the object color to its original color if state is not true. I thought that if I add one condition and when it is false, the color is returned, and not saved as in my video.

@adizanni
Copy link
Owner

Well spotted, I'm going to load a release where the color is reset to the initial one when the state is not found (sort of 'else').

@vring0
Copy link
Author

vring0 commented Jul 16, 2021

that's what I meant. Great, I'm waiting for a new release. In general, as a new feature, I would like to open the HA entity when I click on the object, now you can only call the service

Well spotted, I'm going to load a release where the color is reset to the initial one when the state is not found (sort of 'else').

@adizanni
Copy link
Owner

Loaded fix in the release 0.9.17, please test and close if ok with the resolution

@vring0 vring0 closed this as completed Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants