Bump habiticalib to v.0.4.0 (#145414)

Bump habiticalib to v0.4.0
This commit is contained in:
Manu 2025-05-22 07:22:50 +02:00 committed by GitHub
parent b407792bd1
commit 8b3bad1f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 30 additions and 18 deletions

View File

@ -7,5 +7,5 @@
"iot_class": "cloud_polling",
"loggers": ["habiticalib"],
"quality_scale": "platinum",
"requirements": ["habiticalib==0.3.7"]
"requirements": ["habiticalib==0.4.0"]
}

View File

@ -604,8 +604,6 @@ filterwarnings = [
# - pkg_resources
# https://pypi.org/project/aiomusiccast/ - v0.14.8 - 2023-03-20
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:aiomusiccast",
# https://pypi.org/project/habitipy/ - v0.3.3 - 2024-10-28
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:habitipy.api",
# https://github.com/eavanvalkenburg/pysiaalarm/blob/v3.1.1/src/pysiaalarm/data/data.py#L7 - v3.1.1 - 2023-04-17
"ignore:pkg_resources is deprecated as an API:DeprecationWarning:pysiaalarm.data.data",
# https://pypi.org/project/pybotvac/ - v0.0.26 - 2025-02-26

2
requirements_all.txt generated
View File

@ -1115,7 +1115,7 @@ ha-philipsjs==3.2.2
ha-silabs-firmware-client==0.2.0
# homeassistant.components.habitica
habiticalib==0.3.7
habiticalib==0.4.0
# homeassistant.components.bluetooth
habluetooth==3.48.2

View File

@ -957,7 +957,7 @@ ha-philipsjs==3.2.2
ha-silabs-firmware-client==0.2.0
# homeassistant.components.habitica
habiticalib==0.3.7
habiticalib==0.4.0
# homeassistant.components.bluetooth
habluetooth==3.48.2

View File

@ -32,7 +32,6 @@ FORBIDDEN_PACKAGES = {"setuptools", "wheel"}
FORBIDDEN_PACKAGE_EXCEPTIONS = {
# Direct dependencies
"fitbit", # setuptools (fitbit)
"habitipy", # setuptools (habitica)
"influxdb-client", # setuptools (influxdb)
"microbeespy", # setuptools (microbees)
"pyefergy", # types-pytz (efergy)

View File

@ -155,18 +155,6 @@ async def mock_habiticalib() -> Generator[AsyncMock]:
client.create_task.return_value = HabiticaTaskResponse.from_json(
load_fixture("task.json", DOMAIN)
)
client.habitipy.return_value = {
"tasks": {
"user": {
"post": AsyncMock(
return_value={
"text": "Use API from Home Assistant",
"type": "todo",
}
)
}
}
}
yield client

View File

@ -657,6 +657,31 @@
"canDrop": false,
"key": "Saddle"
}
},
"loginIncentives": {
"0": {
"nextRewardAt": 1
},
"1": {
"rewardKey": ["armor_special_bardRobes"],
"reward": [
{
"text": "Bardic Robes",
"notes": "These colorful robes may be conspicuous, but you can sing your way out of any situation. Increases Perception by 3.",
"per": 3,
"value": 0,
"type": "armor",
"key": "armor_special_bardRobes",
"set": "special-bardRobes",
"klass": "special",
"index": "bardRobes",
"str": 0,
"int": 0,
"con": 0
}
],
"nextRewardAt": 2
}
}
},
"appVersion": "5.29.2"

View File

@ -541,6 +541,8 @@
'quest': dict({
'RSVPNeeded': True,
'key': 'dustbunnies',
'members': dict({
}),
'progress': dict({
'collect': dict({
}),