Currently I have my HVAC ERV integrated into Home Assistant via Modbus. The ERV has three different damper options that it can be set to - Auto, Recovery and Bypass.
Since there’s no ERV device type in HA, I decided to assign each option to a switch entity which does work but their seems to be a quirk with the Auto switch. As an example, if I want to switch the ERV from Auto to Bypass, the Bypass switch will turn on and the ERV will switch to that mode but the Auto switch in HA will stay in the On state. If I check the logs, I see that when it’s in this state there are a bunch of errors about that switch state not receiving the correct modbus value for that register, which is true - the modbus controller is returning value “2” (bypass) rather than the “0” it expects for Auto.
However, if I send an “on” command to the Auto switch, it will change the ERV to Auto but the Bypass switch will update correctly to being Off. The config for each switch is basically the same, except for the command being sent:
switches:
- name: "ERV - Auto"
unique_id: f5802678-2c07-4f19-a42b-4e68a5b6f585
address: 30
command_on: 0
verify:
- name: "ERV - Recovery"
unique_id: b30a49a9-2769-4682-ad2c-b010443ef267
address: 30
command_on: 1
verify:
- name: "ERV - Bypass"
unique_id: 6418c4ad-ee16-4771-a0b0-46cd9ffede34
address: 30
command_on: 2
verify:
From a functionality point of view it’s not a big issue as the ERV is switching to the desired state. It’s more a visual (and log spam) issue in HA that I was hoping someone might know the best way to fix.