hass-core/tests/components/habitica/fixtures/wizard_fixture.json
Manu e602a464db
Add tests for buttons in Habitica integration (#128194)
* Add tests for button platform

* update tests

* Add skill buttons

* Assert state, add fixtures/parametrization

* entity as list
2024-10-29 19:03:41 +01:00

40 lines
831 B
JSON

{
"data": {
"api_user": "test-api-user",
"profile": { "name": "test-user" },
"stats": {
"buffs": {
"str": 0,
"int": 0,
"per": 0,
"con": 0,
"stealth": 0,
"streaks": false,
"seafoam": false,
"shinySeed": false,
"snowball": false,
"spookySparkles": false
},
"hp": 50,
"mp": 50.89999999999998,
"exp": 737,
"gp": 137.62587214609795,
"lvl": 38,
"class": "wizard",
"maxHealth": 50,
"maxMP": 166,
"toNextLevel": 880,
"points": 5
},
"preferences": {
"sleep": false,
"automaticAllocation": true,
"disableClasses": false
},
"flags": {
"classSelected": true
},
"needsCron": true,
"lastCron": "2024-09-21T22:01:55.586Z"
}
}