Skip to content

auto_mode reset to 1 #57

@ilfandango

Description

@ilfandango

Hi, every time I try to set loop_mode to a value (0, 1 or 2) it resets the value of auto_mode to 1.
I tried with the "Beok" app and it works fine, but if I change loop_mode via Home Assistant, auto_mode resets to 1.
From my tests I understand that "auto_mode = (loop_mode + 1)" but I can't go beyond that.

So if i set loop_mode via Beok app to:

  • 0 - [12345,67] auto_mode change to 1
  • 1 - [123456,7] auto_mode change to 2
  • 2 - [1234567] auto_mode change to 3

Instead via Home Assistant Services [hysen_set_advanced] the auto_mode always remaing to 1.

service: climate.hysen_set_advanced
data:
  entity_id: climate.termostato
  loop_mode: 2

In the Climate.py file on line 1199 I can find ((loop_mode + 1) << 4) + auto_mode and it seems to follow my thoughts...

Also, I didn't find the service to forcibly change the value of auto_mode.

sfw_version: 2.3.1

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions