[Netatmo] Enhance webhook handling and dispatching (#15045)

* Enhance webhook handling and dispatching

Signed-off-by: clinique <gael@lhopital.org>

* Corrects flapping channels on Home when using single home for security and energy

Signed-off-by: clinique <gael@lhopital.org>

* Some code enhancement

Signed-off-by: clinique <gael@lhopital.org>

* Adding some missing EventType submitted on the webhook

Signed-off-by: clinique <gael@lhopital.org>

---------

Signed-off-by: clinique <gael@lhopital.org>
This commit is contained in:
Gaël L'hopital
2023-06-13 20:35:45 +02:00
committed by GitHub
parent c9c6e95807
commit d40c20b2dd
24 changed files with 295 additions and 189 deletions

View File

@@ -460,6 +460,7 @@ The Home thing has the following configuration elements:
| securityId | String | No | Id of a home holding security monitoring devices |
At least one of these parameter must be filled - at most two :
* id or securityId
* id or energyId
* securityId and energyId