Commit Graph

190 Commits (2f0e6615690798d4f126ad88967d38df65e6c11e)

Author SHA1 Message Date
Manu c4454ad5ea
Bump habiticalib to v0.3.5 (#137510) 2025-02-06 08:32:56 +01:00
Manu d55a6de01b
Bump habiticalib to v0.3.4 (#137148)
Bump habiticalib to version 0.3.4
2025-02-02 10:08:14 +02:00
Manu ff80a7c5bc
Add reconfiguration flow to Habitica (#136038) 2025-01-20 09:25:45 +01:00
Manu ec45cb4939
Improve exception handling in Habitica integration (#135950) 2025-01-19 19:51:55 +01:00
Manu acbb15a496
Set dependency-transparency and async-dependency in Habitica IQS (#135902) 2025-01-19 12:51:49 +01:00
Manu 595f49ee9f
Set strict-typing in Habitica quality scale record (#135899)
* Set strict-typing in Habitica quality scale record

* cast
2025-01-18 16:35:35 +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 76d9bcbdfb
Set parallel-updates in Habitica quality scale record (#135901) 2025-01-18 11:17:58 +01:00
Manu 526277da0f
Add entity pictures to Habitica integration (#134179) 2025-01-14 15:23:22 +01:00
Manu 0c144092c6
Bump habiticalib to v.0.3.3 (#135551) 2025-01-14 10:07:23 +01:00
Manu cdcc7dbbe8
Deprecate sensors in Habitica integration (#134036)
* Deprecate sensors

* move to setup, remove disabled

* changes

* add breaking version to string

* fixes

* fix entity id in tests
2025-01-13 18:35:14 +01:00
Manu 4dbf2b0320
Fix grey dailies with weekly frequency and no weekdays selected in Habitica (#135419) 2025-01-13 13:20:15 +01:00
Norbert Rittel 96ad2b6ed8
Replace "Login …" with "Log in …" in two strings of Habitica integration (#135383) 2025-01-13 11:55:55 +01:00
Manu 0d85f54e76
Add sensors for inventory items to Habitica (#135331)
Add sensors for inventory items
2025-01-11 21:31:36 +01:00
Manu bf747bb733
Fix Habitica gems/hourglass sensors (#135323) 2025-01-10 23:47:05 +02:00
Manu 9f2cb7bf56
Add image platform to Habitica integration (#129009) 2025-01-03 20:23:43 +01:00
Norbert Rittel 3fb980901e
Improve habitica action descriptions (#134563) 2025-01-03 20:07:30 +01:00
Manu 9320ccfa4f
Remove deprecated sensors in Habitica integration (#134320)
* Remove deprecated sensors

* remove todos/dailies also from enum
2025-01-03 14:48:26 +01:00
Manu 5726d090b0
Add get_tasks action to Habitica integration (#127687)
Add get_tasks action
2025-01-03 11:53:30 +01:00
Manu b45c68554c
Remove habitipy references in Habitica integration (#134419) 2025-01-02 10:47:40 +01:00
Manu b74b9bc360
Bump habiticalib to v0.3.2 (#134244) 2024-12-30 10:10:18 +02: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 9ca9e787b2
Add tests for Habitica integration (#131780)
* Add tests for Habitica integration

* update iqs
2024-12-17 09:07:18 +01:00
Manu 34911a78bd
Add Habitica quality scale record (#131429)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-12-16 13:17:38 +01:00
Manu 8e12fbff88
Refactor calendars in Habitica (#131020)
* Refactor calendars

* changes
2024-11-28 18:31:38 -08:00
Manu fe2bca51a4
Add translations for units of measurement to Habitica integration (#131761) 2024-11-28 08:12:52 +01:00
Manu 17236a5698
Remove unreachable code in Habitica (#131778) 2024-11-28 08:08:00 +01:00
Manu bf4d6d2029
Fix rounding of attributes in Habitica integration (#131772) 2024-11-28 01:35:23 +01:00
Manu 2edcda47b0
Add diagnostics platform to Habitica (#131489) 2024-11-26 20:02:01 +01:00
Manu d587e71f8d
Add descriptions for config flow in Habitica integration (#131461) 2024-11-26 10:42:03 +01:00
Manu 8b71362ae1
Set parallelism for Habitica (#131480)
* Set parallelism for Habitica

* remove from coordinator
2024-11-24 15:55:11 -08:00
Manu c9ede11b1f
Add entity picture for mystic hourglasses to Habitica (#131428) 2024-11-24 11:31:32 +01:00
Manu 5d804d3172
Remove code-owner from Habitica (#131024) 2024-11-20 12:54:11 +01:00
Manu 5daf95ec8f
Add calendars for to-do and daily reminders to Habitica integration (#130789)
* Add calendars for to-do and daily reminders

* revert order

* changes
2024-11-19 18:37:23 -08:00
Manu e9eaeedf2b
Add entity picture for gems to Habitica integration (#130827) 2024-11-18 10:52:23 +01:00
Manu e26142949d
Add action for using transformation items to Habitica (#129606) 2024-11-15 17:38:30 +01:00
Manu 980b0fa5e6
Deprecate api_call action in Habitica integration (#128119) 2024-11-10 19:37:41 +01:00
Manu 0677bba5bd
Add actions for scoring habits and rewards in Habitica (#129605) 2024-11-10 12:26:07 +01:00
Manu 5d0277a0d1
Add actions for quest handling to Habitica (#129650) 2024-11-09 19:34:25 +01:00
Manu c10f078f2a
Add sensors for attribute points (str, int, per, con) to Habitica (#130186) 2024-11-09 16:04:10 +01:00
Manu 27e81fe0ed
Improve error messages in Habitica (#129948)
Improve error messages
2024-11-06 13:23:43 +01:00
Manu 9253fa4471
Add binary sensor platform to Habitica integration (#129613)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-11-05 17:01:38 +01:00
Manu a5f3c434e0
Improve exceptions in habitica cast skill action (#129603)
* Raise a different exception when entry not loaded

* adjust type hints

* move `get_config_entry` to services module
2024-11-04 16:46:38 +01:00
Manu 2303521778
Use common translation strings for Habitica (#129498) 2024-10-30 14:56:47 +01:00
Manu 6887a4419e
Add calendar platform to Habitica integration (#128248)
* Add calendar platform

* Add tests

* add missing reminders filter by date

* Add +1 day to todo end

* add 1 day to dailies, remove unused line of code

* Removing reminders calendar to a separate PR

* fix upcoming event for dailies

* util function for rrule string

* Add test for get_recurrence_rule

* use habitica daystart and account for isDue flag

* yesterdaily is still an active event

* Fix yesterdailies and add attribute

* Update snapshot

* Use iter, return attribute with None value

* various changes

* update snapshot

* fix merge error

* update snapshot

* change date range filtering for todos

* use datetimes instead of date in async_get_events

* Sort events

* Update snapshot

* add method for todos

* filter for upcoming events

* dailies

* refactor todos

* update dailies logic

* dedent loops
2024-10-29 20:53:49 -07:00
Manu 79c602f59c
Fix available conditions for chilling frost and stealth in Habitica (#129234)
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-29 14:24:23 +01:00
Manu f0bff09b5e
Bump habitipy to 0.3.3 (#129322) 2024-10-29 12:48:20 +01:00
Manu 8665f4a251
Refactor services setup in Habitica integration (#128186) 2024-10-25 11:00:58 +02:00
Manu 3adacb8799
Add entity picture for healing potion in Habitica (#129107) 2024-10-25 10:59:37 +02:00