Make Bosch RM230Z HA climate modes configurable#12498
Conversation
|
Superseded by the current live validation notes in the PR description. |
7f8e3e7 to
9bcda6f
Compare
I don't understand why an option is introduced to expose the unsupported cooling mode? |
|
I should reword: its unsupported in my (and most installs) but if paied with a heatpump that can cool and proper additional setup around this its a valid operating mode 😓 |
9bcda6f to
ade11c4
Compare
ade11c4 to
a86daf6
Compare
|
Updated this based on the feedback: cooling is no longer exposed by default. The RM230Z now discovers as heating-only in HA ( |
|
I am not sure why this is necessary. Cannot this be done entirely in HA instead of bringing specific HA code in here? |
|
Home Assistant cannot cleanly remove or rewrite the MQTT climate The problem is generated by the Zigbee2MQTT HA discovery payload, so this keeps the default payload accurate for the common heating-only RM230Z install while still allowing |
|
I split the Zigbee2MQTT-side option plumbing into its own granular PR: Koenkk/zigbee2mqtt#32379. That PR passes |
a86daf6 to
6b1d9b0
Compare
6b1d9b0 to
d851f2b
Compare
|
Could you fix the merge conflicts? |
d851f2b to
bbb4f54
Compare
|
done |
bbb4f54 to
7479a60
Compare
|
thanks! |
|
@MaxRink Good job! 👏 Your improvements to |
Summary
homeassistant_climate_modesdevice option for Bosch Room thermostat II 230V.off,heat,auto) for normal RM230Z radiator/floor-heating installs.coolorheat_cooldiscovery only when the installation really supports cooling, e.g. a heat-pump setup.Home Assistant climate modesin Zigbee2MQTT settings.Dependency
optionstype.Review feedback addressed
Validation
pnpm run buildpnpm run checkpnpm test(19files,615tests)pnpm test test/bosch.test.tsgit diff --checkLive validation on my Home Assistant instance
dist/devices/bosch.jsanddist/lib/exposes.jsto the Zigbee2MQTT add-on and restarted the add-on.homeassistant_climate_modesoption underdefinition.optionsinzigbee2mqtt/bridge/devices: Bad Thermostat, Schlafzimmer Thermostat, Arbeitszimmer Thermostat, Wohnzimmer Thermostat Flur, Wohnzimmer Thermostat Küche.hvac_modes: ["off", "heat", "auto"]by default.Arbeitszimmer Thermostatthroughzigbee2mqtt/bridge/request/device/options:homeassistant_climate_modes: cool-> retained HA discoverymodes: ["off", "cool", "auto"].homeassistant_climate_modes: heat_cool-> retained HA discoverymodes: ["off", "heat", "cool", "auto"].heat-> retained HA discoverymodes: ["off", "heat", "auto"]and the bridge device payload returned to no custom persisted options.