* Reapply "Add support for subentries to config entries" (#133470) (#136061)
* Reapply "Add support for subentries to config entries" (#133470)
This reverts commit ecb3bf79f3.
* Update test snapshot
* Add config subentry support to device registry (#128157)
* Add config subentry support to device registry
* Apply suggestions from code review
* Update syrupy serializer
* Update snapshots
* Address review comments
* Allow a device to be connected to no or a single subentry of a config entry
* Update snapshots
* Revert "Allow a device to be connected to no or a single subentry of a config entry"
This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.
* Update test snapshots
* Bump release version in comments
* Rename config_subentries to config_entries_subentries
* Add config subentry support to entity registry (#128155)
* Add config subentry support to entity registry
* Update syrupy serializer
* Update snapshots
* Update snapshots
* Accept suggested changes
* Clean registries when removing subentry (#136671)
* Clean up registries when removing subentry
* Update tests
* Clean up subentries from deleted devices when removing config entry (#136669)
* Clean up subentries from deleted devices when removing config entry
* Move
* Add config subentry support to entity platform (#128161)
* Add config subentry support to entity platform
* Rename subentry_id to config_subentry_id
* Store subentry type in subentry (#136687)
* Add reconfigure support to config subentries (#133353)
* Add reconfigure support to config subentries
* Update test
* Minor adjustment
* Rename supported_subentry_flows to supported_subentry_types
* Address review comments
* Add subentry support to kitchen sink (#136755)
* Add subentry support to kitchen sink
* Add subentry reconfigure support to kitchen_sink
* Update kitchen_sink tests with subentry type stored in config entry
* Update kitchen_sink
* Update kitchen_sink
* Adjust kitchen sink tests
* Fix hassfest
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Improve docstrings and strings.json
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
* Update snapshots
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* 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
* 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
* Add tests for sensor platform
* Add tests for switch platform
* Add tests for button platform
* Add tests for todo platform
* Add tests for todo platform
* Load json data fixtures
* Update snapshot
* Add fixtures
* test move todo
* parametrize todo tests, test drop notification
* test todo exceptions
* some minor improvements
* test setup retry
* Test update failed
* Test coordinator rate limit
* Test date utils
* Reduce scope of PR
* remove unused assert_mock_called_with function
* update snapshot
* Update tests/components/habitica/test_init.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Fix missing id in completed todos API response
* Copy id only if none
* Update homeassistant/components/habitica/coordinator.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
---------
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* Add todo platform
* update for DataUpdateCoordinator
* set lastCron as dailies due date
* parse alternative duedate format
* fix tests
* send notification on item drop
* fix drop message
* update exception messages
* Simplified the update of user_fields by using set union
* move userFields to const
* Issue deprecation only if entity is acutally used
* Resolve issues
* user entity registry to get entity_id
* raise ServiceValidationError
* requested changes
* Move next_due_date helper function to util.py module
* some changes
* Move function to util.py