sHedC / python-masterthermconnect

MasterTherm HeatPump API
MIT License
3 stars 2 forks source link

Format output correctly from the command line and error correctly #52

Closed sHedC closed 1 year ago

sHedC commented 1 year ago

I tried using the rc9 of the python tool, but it produces invalid json with the --pretty option. Instead of:

{"1061_1": {"A_1": "17.6", "A_10": "-11.0"}}

it produces

1061_1: {"A_1": "17.6", "A_10": "-11.0"}

And also the warnings are going to stdout instead of stderr, so messing with the useful data...