home-climate-control/dz

SwitchableHvacDevice blows up in heating mode

climategadgets opened this issue · 0 comments

Expected Behavior

SwitchableHvacDevice works in heating mode and only refuses to act as a fan (when a fan feature is explicitly asked for)

Actual Behavior

SwitchableHvacDevice blows up with java.lang.IllegalArgumentException: fanSpeed=1.0 is not supported by this instance (not in cooling mode)

Root Cause

Unit controller produces non-zero fan signal whereas it's only supposed to produce non-zero demand

Workaround

Since this is happening in an experimental branch, the exception will be downgraded to a warning until process control logic is fixed.