Open GitHubGoody opened 11 months ago
Hey! I'm glad you got it setup. So the entity displays the correct colour, but you are unable to change it? Did you also setup the Mug in the app on your phone? Sometimes you need to connect it at least once to make the attributes writable. I have not yet figured out how to reproduce that via this integration.
Hello. Not quite, it changes via HA while the light more info card is open, but reverts to the default color when I close it. Yes, I connected to it via the app first.
I understand that changing it in the more info does not take effect. But, the Light entity does not display the current colour of the Mug LED?
That's very strange. Setting it up via the app should allow you to change the colour. You did not reset the mug in between using the app and using Home Assistant?
Do you have any errors in your logs for this integration? When it was not configured with the app it usually raises a permission error.
If you do not see any errors, would it be possible to try enabling debug logging (this can be done via the button in the device page or via your config file) and trying to change the colour to see what output is generated? Thanks!
@GitHubGoody Any luck with this or more details on your problems so I can help debug?
@GitHubGoody are you sure it's not just the mug defaulting to the white heating indicator that's just coinciding with you closing the light card? If it goes back to white it just means that it's heating, the chosen colour only shows up when lifting the cup with no liquid inside or pressing the power button
https://support.ember.com/hc/en-us/articles/360019824192-Ember-Mug-Color-Light-Index
Your personalized LED color will only show up when pressing the power button or if the mug is empty - giving the mug a little shake will illuminate your color as well!
If you've already ruled that out that's fair but figured I'd mention it.
@GitHubGoody Any luck with this or more details on your problems so I can help debug?
Sorry, I haven't been able to troubleshoot because this. To get your integration to initially work when I first posted this issue, I had to disable Passive scanning (when the Bluetooth integration would load with Passive scanning deselected). So, until either of these issues are fixed, I cannot connect to my Ember mug with your integration.
Oh interesting. I hope that gets resolved. I don't think you should need to disable pasive scanning, but the adaptor does need to support active scanning in order to work with the mug as it does not broadcast any messages except for a basic message during the initial pairing. Please let me know, once that is resolved, if you are able to reproduce your issue or if you find it no longer happens so I can fix or close this issue. Thanks!
Description
I just successfully connected to my new Ember Mug 2. I started trying the different entities provided by this integration. For the light, I’m able to change its color, but as soon as I close the light card, the light on the mug reverts back to the default color. Also, the on/off commands do not affect the light on the mug.
What I Did
See above
Logs / Errors
Let me know what you need.