diff --git a/pyasic/web/auradine.py b/pyasic/web/auradine.py index 1f5ad828..1986525f 100644 --- a/pyasic/web/auradine.py +++ b/pyasic/web/auradine.py @@ -38,7 +38,7 @@ class FluxWebAPI(BaseWebAPI): try: auth = await client.post( f"http://{self.ip}:{self.port}/token", - data={ + json={ "command": "token", "user": self.username, "password": self.pwd,