Support float for temperature steps

Issue #6 resolved
Gerben Meijer created an issue

Hi,

My Daikin AC units support steps of 0.5c:

gerben@spirit:~/.homeassistant/climate$ curl -s http://192.168.0.37/aircon/get_control_info | tr ',' '\n' |grep temp
stemp=22.0
b_stemp=22.0
gerben@spirit:~/.homeassistant/climate$ curl -s 'http://192.168.0.37/aircon/set_control_info?pow=1&mode=3&stemp=22.5&shum=0' | tr ',' '\n' ; echo "" 
ret=OK
adv=
gerben@spirit:~/.homeassistant/climate$ curl -s http://192.168.0.37/aircon/get_control_info | tr ',' '\n' |grep temp
stemp=22.5
b_stemp=22.5

I would like to be able to set it to steps of 0.5. Can we have float support in steps of 0.5, configurable if needed?

Comments (4)

  1. Gerben Meijer reporter

    Oh. Actually, the code supports it, just the pydaikin bin doesn’t as it expects int for --temp. Changing that to float works.

  2. Fredrik Erlandsson

    I don't think steps of 0.5 is Daikin generally supported would be interesting to see how we can detect if it is or not.

    I'm happy to accept a patch if we know it work for all the different units we support with the 2.0 release.

  3. Log in to comment