Bump habiticalib to v0.3.4 (#137148)

Bump habiticalib to version 0.3.4
This commit is contained in:
Manu 2025-02-02 09:08:14 +01:00 committed by GitHub
parent dd9bd8ef73
commit d55a6de01b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 67 additions and 36 deletions

View File

@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/habitica", "documentation": "https://www.home-assistant.io/integrations/habitica",
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["habiticalib"], "loggers": ["habiticalib"],
"requirements": ["habiticalib==0.3.3"] "requirements": ["habiticalib==0.3.4"]
} }

2
requirements_all.txt generated
View File

@ -1100,7 +1100,7 @@ ha-iotawattpy==0.1.2
ha-philipsjs==3.2.2 ha-philipsjs==3.2.2
# homeassistant.components.habitica # homeassistant.components.habitica
habiticalib==0.3.3 habiticalib==0.3.4
# homeassistant.components.bluetooth # homeassistant.components.bluetooth
habluetooth==3.21.0 habluetooth==3.21.0

View File

@ -941,7 +941,7 @@ ha-iotawattpy==0.1.2
ha-philipsjs==3.2.2 ha-philipsjs==3.2.2
# homeassistant.components.habitica # homeassistant.components.habitica
habiticalib==0.3.3 habiticalib==0.3.4
# homeassistant.components.bluetooth # homeassistant.components.bluetooth
habluetooth==3.21.0 habluetooth==3.21.0

View File

@ -17,7 +17,7 @@ from habiticalib import (
HabiticaTaskOrderResponse, HabiticaTaskOrderResponse,
HabiticaTaskResponse, HabiticaTaskResponse,
HabiticaTasksResponse, HabiticaTasksResponse,
HabiticaUserAnonymizedrResponse, HabiticaUserAnonymizedResponse,
HabiticaUserResponse, HabiticaUserResponse,
NotAuthorizedError, NotAuthorizedError,
NotFoundError, NotFoundError,
@ -140,7 +140,7 @@ async def mock_habiticalib() -> Generator[AsyncMock]:
{"data": [], "success": True} {"data": [], "success": True}
) )
client.get_user_anonymized.return_value = ( client.get_user_anonymized.return_value = (
HabiticaUserAnonymizedrResponse.from_json( HabiticaUserAnonymizedResponse.from_json(
load_fixture("anonymized.json", DOMAIN) load_fixture("anonymized.json", DOMAIN)
) )
) )

View File

@ -119,7 +119,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': 'e6e06dc6-c887-4b86-b175-b99cc2e20fdf', 'id': 'e6e06dc6-c887-4b86-b175-b99cc2e20fdf',
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -190,7 +191,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': '2fbf11a5-ab1e-4fb7-97f0-dfb5c45c96a9', 'id': '2fbf11a5-ab1e-4fb7-97f0-dfb5c45c96a9',
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([

View File

@ -764,7 +764,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'), 'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -837,7 +838,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'), 'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -913,7 +915,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'), 'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -984,7 +987,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'), 'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -1056,7 +1060,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'), 'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -1284,7 +1289,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'), 'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -1356,7 +1362,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'), 'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -1853,7 +1860,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'), 'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -2996,7 +3004,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'), 'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3069,7 +3078,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'), 'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3145,7 +3155,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'), 'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3216,7 +3227,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'), 'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3288,7 +3300,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'), 'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3612,7 +3625,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'), 'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -3690,7 +3704,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'), 'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5544,7 +5559,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'), 'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5621,7 +5637,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'), 'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5694,7 +5711,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'), 'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5770,7 +5788,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'), 'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5841,7 +5860,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'), 'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5913,7 +5933,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'), 'id': UUID('5e2ea1df-f6e6-4ba3-bccb-97c5ec63e99b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -5984,7 +6005,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'), 'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6056,7 +6078,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'), 'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6134,7 +6157,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'), 'id': UUID('88de7cd9-af2b-49ce-9afd-bf941d87336b'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6207,7 +6231,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'), 'id': UUID('2f6fcabc-f670-4ec3-ba65-817e8deea490'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6283,7 +6308,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'), 'id': UUID('1aa3137e-ef72-4d1f-91ee-41933602f438'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6354,7 +6380,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'), 'id': UUID('86ea2475-d1b5-4020-bdcc-c188c7996afa'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6426,7 +6453,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'), 'id': UUID('162f0bbe-a097-4a06-b4f4-8fbeed85d2ba'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([
@ -6498,7 +6526,8 @@
'managerNotes': None, 'managerNotes': None,
'taskId': None, 'taskId': None,
}), }),
'history': None, 'history': list([
]),
'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'), 'id': UUID('3fa06743-aa0f-472b-af1a-f27c755e329c'),
'isDue': None, 'isDue': None,
'nextDue': list([ 'nextDue': list([