Skip to content

Commit

Permalink
Fix headers in auth
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-th committed Feb 22, 2025
1 parent 232146b commit c8d9e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/homematicip/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def set_pin(self, pin: str):

async def connection_request(self, access_point: str, device_name="homematicip-python") -> RestResult:
LOGGER.debug(f"Requesting connection for access point {access_point}")
headers = self.headers
headers = self.headers.copy()
if self.pin is not None:
headers["PIN"] = self.pin

Expand Down

0 comments on commit c8d9e08

Please sign in to comment.