Closed glpatcern closed 1 year ago
I have tested this PR with my electricity-only, single-zone setup, so at least the existing stuff does not break. Therefore I'm merging it, hopefully multi-zone setups have a better support compared to before (only one random zone was retained).
Fixes #23.
@LankyGamer83 would you be able to test this branch? I don't have myself a multi-zone sensor (and I'm going to try that the rest does not break) so I'd appreciate some feedback from you.
Also, for now there is no logic to self-discover the zones and you'd have to specify them as multiple sensors, which is suboptimal.Edit: you just need to setzones: 2
(i.e. the total count of zones you have) in your configuration, and multiple sensors will get defined to match the zones.