Closed TroLoos closed 10 months ago
Hi, I've added a generic ligh service in this repo: https://github.com/gvigroux/hon/tree/Full-rework Can you try ?
Unfortunately, there are still no entities that could be switched on/off:
It did change comparing to previous version:
but all the entities are still sensors, light did not change to switch.
Thanks a lot for trying though :-). I'm sure it can be done, and I am ready to help testing.
I've updated the main branch so you can try from there. You have 2 services to start and stop the lights :) but it's still not a button.
I've updated the main branch so you can try from there. You have 2 services to start and stop the lights :) but it's still not a button.
@gvigroux, what a great support! ;-)
Indeed, there are services to be called, I've checked hon.turn_light_on and it works flawlessly. Looks like turn_light_off still needs a little bit of tweak, it doesn't do anything. Can you have a second look at it? Perhaps I can send a custom request but I don't know the schema to follow.
OUPS, light_off should works now :)
@gvigroux thank you a million!
I'm waiting for a change to propagate :-).
Done! Sorry it was stuck on my side
@gvigroux I'm going to say that again - what a support!
Everything works like a charm :-).
You can add it to fully supported list:
Device info HWS42GDAU1 by haier Firmware: 5.12.0
Thanks :)
@gvigroux I'm not sure when exactly, but this service (light on/off) stopped working with unknown error. Are there any information that I could provide to help you figure it out why it's not working?
Tried from NodeRed ("Call-service error. cannot access local variable 'json' where it is not associated with a value") and Developer Tools in HA ("Failed to call service hon.turn_light_on. Unknown error").
I'm on the newest available version of the add on.
Let me look at it
@TroLoos, it should work again now :) Can you please test ?
@gvigroux yes, you got it right! Works like a charm again.
Thank you!
Perfect :)
Hi, first of all - thank you for your great work, I was really surprised that my recently purchased Wine Cooler (HWS42GDAU1) is actually supported by this component 👍
It works great - I can read all the sensors:
What it would make it even better - if it was possible to turn the light on and off from within HA. It would be a great addition to lighting automations (you enter the room, wine cooler's light goes on...).
If there's anything I can do here to help, just let me know (basic programming experience).