Manu
bf1c138a3c
Fix some mistakes in the Habitica tests ( #143465 )
2025-04-22 20:53:09 +02:00
Manu
ff80a7c5bc
Add reconfiguration flow to Habitica ( #136038 )
2025-01-20 09:25:45 +01:00
Manu
f5dd3ef530
Increase test coverage in Habitica integration ( #135896 )
...
Add tests to Habitica integration
2025-01-18 12:59:23 +01:00
Manu
9804e8aa98
Add reauth flow to Habitica integration ( #131676 )
...
* Add reauth flow to Habitica integration
* tests, invalid_credentials string
* test only api_key
* section consts
* test config entry
* test reauth is triggered
* set reauthentication-flow to done
* use consts in tests
* reauth_entry
* changes
* fix import
* changes
2024-12-29 21:12:36 +01:00
Manu
0db07a033b
Migrate Habitica integration to habiticalib ( #131032 )
...
* Migrate data to habiticalib
* Add habiticalib to init and coordinator
* Migrate Habitica config flow to habiticalib
* migrate init to habiticalib
* migrate buttons to habiticalib
* migrate switch to habiticalib
* update habiticalib
* cast_skill action
* migrate update_score
* migrate transformation items action
* migrate quest actions
* fix fixture errors
* Migrate coordinator data and content
* bump habiticalib
* Remove habitipy and use wrapper in habiticalub
* changes
* some fixes
* minor refactoring
* class_needed annotation
* Update diagnostics
* do integration setup in coordinator setup
* small changes
* raise HomeAssistantError for TooManyRequestsError
* fix docstring
* update tests
* changes to tests/snapshots
* fix update_todo_item
2024-12-29 15:00:31 +01:00
Manu
fa53ec40d6
Remove deprecated yaml import from Habitica ( #127946 )
2024-10-09 11:17:19 +02:00
Mr. Bubbles
50577883dc
Add option to login with username/email and password in Habitica integration ( #117622 )
...
* add login/password authentication
* add advanced config flow
* remove unused exception classes, fix errors
* update username in init
* update tests
* update strings
* combine steps with menu
* remove username from entry
* update tests
* Revert "update tests"
This reverts commit 6ac8ad6a26547b623e217db817ec4d0cf8c91f1d.
* Revert "remove username from entry"
This reverts commit d9323fb72df3f9d41be0a53bb0cbe16be718d005.
* small changes
* remove pylint broad-excep
* run habitipy init in executor
* Add text selectors
* changes
2024-08-30 17:08:06 +02:00
Joost Lekkerkerker
b9281327c4
Use FlowResultType enum in config flow tests A-M ( #114681 )
2024-04-03 09:21:17 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
c88b337600
Add empty line after module docstring [tests f-k] ( #112709 )
2024-03-08 14:50:04 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Martin Hjelmare
43a5852561
Fix habitica entry unload clean up ( #46798 )
...
* Fix habitica entry unload clean up
* Fix service remove
* Add entry setup and unload test
* Fix config flow tests
* Assert service
2021-02-20 20:59:59 +01:00
Ilja Leiko
8c72cb6163
Add sensors to fetch Habitica tasks ( #38910 )
...
* Adding sensors to fetch habitica tasks
* PR changes and rebase
* Fixing pylint
* Fixing failed test dependancy
* Generating requirements
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* PR changes
* Update homeassistant/components/habitica/config_flow.py
Thank you, @MartinHjelmare
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* PR Changes
* Fix failing test
* Update tests/components/habitica/test_config_flow.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fixing linting and imports
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-17 09:04:11 +01:00