Support float for temperature steps
Issue #6
resolved
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)
-
reporter -
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.
-
- changed status to resolved
Allow target temp as float, fixes
#6→ <<cset 6a9fae5d7352>>
-
Allow target temp as float, fixes
#6→ <<cset c36c8da56ea7>>
- Log in to comment
Oh. Actually, the code supports it, just the pydaikin bin doesn’t as it expects int for --temp. Changing that to float works.