Skip to content

Conversation

@burmistrzak
Copy link
Contributor

It's currently not super convenient to use schedules with these thermostats because setting system_mode to 0x01 a.k.a. Auto isn't supported for some reason...
To work around this, we'll have to override the HA discovery payload and use operating_mode instead.

This is mostly a proof of concept, so any feedback is highly appreciated. 😊

Copy link
Owner

@Koenkk Koenkk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let me know once this is ready for merge

@burmistrzak burmistrzak marked this pull request as ready for review January 1, 2026 19:14
@burmistrzak
Copy link
Contributor Author

burmistrzak commented Jan 1, 2026

@Koenkk Let's finally make more use of the HA override function. 😉

I tested these changes locally, and everything seems to work perfectly. Kinda unexpected, I must admit. 😅

Also, happy new year to you! 🎆🍀

@burmistrzak burmistrzak changed the title feat: Bosch BTH-RM*: Enable auto mode via operating_mode feat: Bosch BTH-RM*: Enable auto mode via operating_mode for HA Jan 2, 2026
@Koenkk Koenkk merged commit e036e05 into Koenkk:master Jan 3, 2026
3 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Jan 3, 2026

Thanks!

@cromelex
Copy link

cromelex commented Feb 2, 2026

@Koenkk Let's finally make more use of the HA override function. 😉

I tested these changes locally, and everything seems to work perfectly. Kinda unexpected, I must admit. 😅

I have 2 of these thermostats and just saw this in the release notes.
I'm essentially using a custom logic to manage the thermostat (and it works fine), but I'm wondering if you actually have any documentation on how you are using this with the auto, or a link you can share.

If I recall correctly, previously, activating auto was just using a built in schedule.

@burmistrzak
Copy link
Contributor Author

@cromelex My previous comment was about how Z2M handles switching between modes for these thermostats. Not really something of interest for regular users. But feel free to check out the code if you're curious.

You've recalled correctly, it's still the internal schedule but this time around implemented properly. 😉
Some future Z2M release will include support for customizing said schedule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants