slesinger / pybmr

Python library for controling BMR HC64 heating
https://shop.fenixgroup.cz/z4770-bmr-hc-64-ridici-jednotka
Apache License 2.0
0 stars 3 forks source link

Return "target_temperature" as "None" when summer mode is ON #4

Closed dankeder closed 4 years ago

dankeder commented 4 years ago

Hey,,

I made a slight change in how the target temperature is handled in summer mode. I think it makes more sense to report the circuit target temperature as None when summer mode is turned on, instead of 0.

This also has a "nice" side-effect that you won't see the target temperature 0 in graphs in HA (but also in Grafana). Without this patch the vertical temperature axis would have range from 0 to around 25 C (in my case) and because of that the temperature graph is basically a flat line.