Apollon77 / ioBroker.daikin

Control Daikin Air Conditioner devices
MIT License
14 stars 10 forks source link

Set demand control percentage #185

Open Matze2 opened 5 months ago

Matze2 commented 5 months ago

This PR is on top of #184.

It also depends on PRs Apollon77/daikin-controller#268 and Apollon77/daikin-controller#269.

For now only change of demand control percentage is supported.

This PR contains one part under discussion because the new writable parameter "maxPower" does not belong to group "control" but to "demandControl". Since all writable parameter names itself are unique it is enough to check with the second namespace and strip it off. The rest of the logic stays the same.

With this PR I could replace the usage of "daikin-cloud.0..climateControl.demandControl.modes.fixed" in my scripts.