Add new integration for WMS WebControl pro using local API (#124176)

* Add new integration for WMS WebControl pro using local API

Warema recently released a new local API for their WMS hub
called "WebControl pro". This integration makes use of the
new local API via a new dedicated Python library pywmspro.

For now this integration only supports awnings as covers.
But pywmspro is device-agnostic to ease future extensions.

* Incorporated review feedback from joostlek

Thanks a lot!

* Incorporated more review feedback from joostlek

Thanks a lot!

* Incorporated more review feedback from joostlek

Thanks a lot!

* Fix

* Follow-up fix

* Improve handling of DHCP discovery

* Further test improvements suggested by joostlek, thanks!

---------

Co-authored-by: Joostlek <joostlek@outlook.com>
This commit is contained in:
Marc Hörsken 2024-09-16 16:07:43 +02:00 committed by GitHub
parent 4fbc5a9558
commit 587ebd5d47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1194 additions and 0 deletions

View file

@ -0,0 +1,7 @@
"""Constants for the WMS WebControl pro API integration."""
DOMAIN = "wmspro"
SUGGESTED_HOST = "webcontrol"
ATTRIBUTION = "Data provided by WMS WebControl pro API"
MANUFACTURER = "WAREMA Renkhoff SE"