* 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 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
* refactor habitica sensors, add strings and icon translations
* Change sensor names
* remove max_health as it is a fixed value
* remove SENSOR_TYPES
* removed wrong sensor
* Move Data coordinator to separate module
* add coordinator.py to coveragerc
* add deprecation warning for task sensors
* remove unused imports and logger
* Revert "add deprecation warning for task sensors"
This reverts commit 9e58053f3b.
* Update homeassistant/components/habitica/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/habitica/strings.json
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Revert "Move Data coordinator to separate module"
This reverts commit f5c8c3c886.
* Revert "add coordinator.py to coveragerc"
This reverts commit 8ae07a4786.
* rename Mana max. to Max. mana
* deprecation for yaml import
* move SensorType definition before TASK_TYPES
* Revert "deprecation for yaml import"
This reverts commit 2a1d58ee5f.
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
* Use f-strings in integrations starting with "H"
* Use f-strings in integrations starting with "I"
* Use f-strings in integrations starting with "J"
* Use f-strings in integrations starting with "K"
* Use f-strings in integrations starting with "L"
* Fix lint error
* Use join instead of f-string in homekit_controller
* Use local variables with f-strings
* Fix lint error
* Escape the characters in f-string
* Sort imports with isort in homeworks light
* Fix pylint error
* Fix broken tests
* Fix broken tests v2
* Added support for Habitica
Second refactoring
Moved all config to component.
Sensors are autodiscovered.
Signed-off-by: delphi <cpp.create@gmail.com>
* Apply requested changes
Signed-off-by: delphi <cpp.create@gmail.com>
* Made event fire async. Made `sensors` config implicit and opt-out-style.
Signed-off-by: delphi <cpp.create@gmail.com>
* Removed unneeded check and await.
Signed-off-by: delphi <cpp.create@gmail.com>
* Moved into separate component package and added service.yaml
Signed-off-by: delphi <cpp.create@gmail.com>
* Fix coveralls
Signed-off-by: delphi <cpp.create@gmail.com>