anelpwr.py: fix POST URL (#120)

Co-authored-by: Peter Schumann <peter.schumann@secunet.de>
This commit is contained in:
PSc-secunet 2023-03-08 12:33:44 +01:00 committed by GitHub
parent 97eb2e9f50
commit 4b80bd8e07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
session = self.__ensure_http_session()
try:
async with session.post(
url=f"{self.__url}//ctrl.htm",
url=f"{self.__url}/ctrl.htm",
data=f"F{pin}={int(state)}",
headers={"Content-Type": "text/plain"},
) as response: