bilan / connectlife-api-connector

Connectlife API proxy / MQTT Home Assistant integration
51 stars 13 forks source link

How to change values for t_work_mode? #42

Open BlackBeltPanda opened 2 weeks ago

BlackBeltPanda commented 2 weeks ago

The default values send the wrong numbers for my AC (device type 301). How can I specify what value to send for each mode? And is there a way to change "auto" to "eco"? For reference, these are the values for my AC:

  0 - fan
  2 - cool
  3 - dry
  5 - eco

Edit: I was able to figure out how to specify the correct values; just had to copy the same format as t_fan_speed. So now my DEVICES_CONFIG env looks like: '{"301":{"t_work_mode":{"0":"fan_only","2":"cool","3":"dry","5":"auto"},"t_fan_speed":{"2":"low","3":"medium","4":"high"}}}'

However, I'm not sure if there's a way to change the word "auto" to "eco".