-
Notifications
You must be signed in to change notification settings - Fork 18
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
patch to survive the latest HA changes #61
Conversation
@leonardpitzu Thank you for this! @epoplavskis @jvitkauskas |
hope they do not merge it completely as I have changed some stuff for my own purpose (like maintainer) :) |
@leonardpitzu I get the following error with your branch when attempting to change the fan speed: AttributeError: type object 'HVACMode' has no attribute 'FAN_OFF'. Did you mean: 'FAN_ONLY'? The issue seems to be with line : Detailed: 2024-08-14 12:56:04.018 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [547719297584] Unexpected exception |
oops, my bad. fixing it right away. |
Try my branch and see how it works. In case of positive feedback I'll push the changes. |
The original error is gone, now another one pops up, I trust in the underlying librаry: 2024-08-14 14:28:43.315 ERROR (MainThread) [pyit600] write failed: {'requestAttr': 'write', 'id': [{'data': {'DeviceType': 100, 'Endpoint': 9, 'UniID': 'zzzzzzzzzzzzzzcensoredzzzzzzzzz'}, 'sFanS': {'FanMode': 5}}]} The above exception was the direct cause of the following exception: Traceback (most recent call last): |
have no idea what this is and I have no fan to test... |
Yes, debug log extract. I can probably live without fan speed control :) Anyway, your main fix to this seemingly abandoned repo is appreciated - thanks |
did you reboot in between or remove and re-add the integration? |
I could fix the library I guess but it's way more complex and honestly speaking its a lot of work and I have few time to spare right not. Forking the library and linking the integration to the new lib means assuming some activities I cannot do right now. Just as a FYI - I would change the lib quite a bit ;) |
Removed the original repo from HACS |
can you redownload and paste the logs? I just want to see what fan mode actually looks like |
`2024-08-15 08:58:19.478 INFO (MainThread) [custom_components.salus.climate] set_fan_mode: Auto The above exception was the direct cause of the following exception: Traceback (most recent call last): |
It seems to be the string, e.g. FAN_AUTO = 'Auto' 2024-08-15 08:58:15.652 INFO (MainThread) [custom_components.salus.climate] set_fan_mode: Medium |
I just tested this on my setup and it works perfectly. @jvitkauskas, are you able to merge this please? |
Works fine for me either in 2024.12.3, all warning messages have gone. |
hi ... after updating to core 2025.1.1 salus gateway doesn't work anymore. @leonardpitzu can you please help me ? Because am a complete newbie to HA |
Same situation as IonutGrigorut //Fink |
I'm on 2025.1.2 and everything works well.Regarding the leonardpitzu branch, I used the visual studio add-on from HA to replace the 4 files modified by leonardpitzu and that's it.
|
Thanks for the pointer!
//Fink |
just updating some parts of the code to adapt to latest HA changes (I am not into HA development but it should work)