Bump habiticalib to v0.3.5 (#137510)

This commit is contained in:
Manu 2025-02-06 08:32:56 +01:00 committed by Franck Nijhof
parent cd40232beb
commit 30b131d3b9
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
6 changed files with 919 additions and 918 deletions

View File

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

View File

@ -510,7 +510,8 @@ def async_setup_services(hass: HomeAssistant) -> None: # noqa: C901
or (task.notes and keyword in task.notes.lower())
or any(keyword in item.text.lower() for item in task.checklist)
]
result: dict[str, Any] = {"tasks": response}
result: dict[str, Any] = {"tasks": [task.to_dict() for task in response]}
return result
hass.services.async_register(

2
requirements_all.txt generated
View File

@ -1097,7 +1097,7 @@ ha-iotawattpy==0.1.2
ha-philipsjs==3.2.2
# homeassistant.components.habitica
habiticalib==0.3.4
habiticalib==0.3.5
# homeassistant.components.bluetooth
habluetooth==3.21.1

View File

@ -938,7 +938,7 @@ ha-iotawattpy==0.1.2
ha-philipsjs==3.2.2
# homeassistant.components.habitica
habiticalib==0.3.4
habiticalib==0.3.5
# homeassistant.components.bluetooth
habluetooth==3.21.1

View File

@ -8,7 +8,6 @@
'habitica_data': dict({
'tasks': list([
dict({
'Type': 'habit',
'alias': None,
'attribute': 'str',
'byHabitica': False,
@ -71,6 +70,7 @@
'tags': list([
]),
'text': 'task text',
'type': 'habit',
'up': True,
'updatedAt': '2024-10-10T15:57:14.287000+00:00',
'userId': 'ffce870c-3ff3-4fa4-bad1-87612e52b8e7',
@ -80,7 +80,6 @@
'yesterDaily': None,
}),
dict({
'Type': 'todo',
'alias': None,
'attribute': 'str',
'byHabitica': True,
@ -143,6 +142,7 @@
'tags': list([
]),
'text': 'task text',
'type': 'todo',
'up': None,
'updatedAt': '2024-11-27T19:34:29.001000+00:00',
'userId': 'ffce870c-3ff3-4fa4-bad1-87612e52b8e7',
@ -152,7 +152,6 @@
'yesterDaily': None,
}),
dict({
'Type': 'reward',
'alias': None,
'attribute': 'str',
'byHabitica': False,
@ -215,6 +214,7 @@
'tags': list([
]),
'text': 'task text',
'type': 'reward',
'up': None,
'updatedAt': '2024-10-10T15:57:14.290000+00:00',
'userId': 'ffce870c-3ff3-4fa4-bad1-87612e52b8e7',
@ -224,7 +224,6 @@
'yesterDaily': None,
}),
dict({
'Type': 'daily',
'alias': None,
'attribute': 'str',
'byHabitica': False,
@ -341,6 +340,7 @@
'tags': list([
]),
'text': 'task text',
'type': 'daily',
'up': None,
'updatedAt': '2024-11-27T19:34:29.001000+00:00',
'userId': 'ffce870c-3ff3-4fa4-bad1-87612e52b8e7',

File diff suppressed because it is too large Load Diff