Use entity class attributes for ambiclimate (#52521)
* Use entity class attributes for ambiclimate * tweak * move some stuff
This commit is contained in:
parent
abc9b01ede
commit
3a2a688170
3 changed files with 23 additions and 76 deletions
|
@ -139,7 +139,7 @@ class AmbiclimateAuthCallbackView(HomeAssistantView):
|
|||
url = AUTH_CALLBACK_PATH
|
||||
name = AUTH_CALLBACK_NAME
|
||||
|
||||
async def get(self, request):
|
||||
async def get(self, request) -> str:
|
||||
"""Receive authorization token."""
|
||||
code = request.query.get("code")
|
||||
if code is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue