-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Change window_open to window_detection for Bosch Thermostats. #7047
Conversation
Fix window_open switch for Bosch Thermostats.
Change window_open to window_detection for Bosch Thermostats.
I am testing this, but now I get: No converter available for 'window_open' ("ON") And it still doesn't show up in HA. Can anyone help to change the window_open to windows_detection properly? |
sorry, didn't see you already opened a pull request - looks good to me, works on my end
had that as well - i guess you have an automation in HA that sets sends the window state to the bosch devices every time they are triggered. restarting z2m does trigger the automation in home assistant as the state for the window sensors "changes" on startup. fix your automation in HA from
had this on the first restart - my BTH-RAs needed to reconfigure once. just press reconfigure in the frontend. triggering the window_detection switch via z2m frontend made it also appear in home assistant. maybe it's just cached on your end. |
How can you keep the changes persistent? First time I reboot Zigbee2MQTT after I change the Bosch.js file it stays and I can test the changes. But then when I reboot again it reverts to the one in the repository… I still had the No Converter Available error after reconfiguring so wanted to reboot to test and then it reverted to previous version… I am using the HA Add-On. |
as I use HA-core, I don't really know how addons work. I just set up a test environment following Koenkks advice |
I cannot do a setup like the example mentions but did find a better way to edit the file inside the add-on through Advanced SSH & Web Terminal Add-on. I was able to test it now and it seems to work ok here as well with the BTH-RM. So this was all the change that was needed to fix the switch. So it can be merged. |
@danielpetrovic you forgot to update zigbee-herdsman-converters/src/devices/bosch.ts Line 1059 in aeea2fc
|
It is there when I check in 9dfb5a4 is this not the latest commit? The one you are linking to, somehow goes to tuya.ts when I click it. |
You are right, somehow missed it, thanks! |
Replaces the previous data point "Window open" Belongs to: Koenkk/zigbee-herdsman-converters#7047
Discussed here: Koenkk/zigbee2mqtt#21285