* Starting with a simple change
* And trying again but actually adding the new area to this
* And that's getting interesting
* Wanted to add some small things to gitignore too
* More metrics clean up
* The linter is harsh
* Need to adjust a ton of tests
* I was finally able to commit
* Trying to abstract metrics into a helper class
* Fixed some tests at least
* Making progress on tests
* Getting really close now
* Only 1 or 2 tests left to fix
* Only 1.5 tests left
* That's more than enough for tonight
* Got all the tests passing!
* Another pass at test clean up
* Fixed up all the tests, again
* More clean up needed
* Got device_class working just need to fix one test I broke
* Got all the existing tests working!
* Refactored helpers into a separate file
* I added some new tests! For the helpers, ironically
* Don't touch those files
* Don't include that either
* Added my first real test
* Rolling back some logic changes to focus solely on tests
* Curious what happens when I run the tests now
* Getting closer to making things pass
* Getting closer to a working pr now
* Keeping up with test fixes
* Getting much closer to something useful
* Saving piecemeal
* Getting closer to a final working version
* Now that's an improvement
* And moving a little forward
* And now I'm really inching closer
* Saving more complex test case fix
* And now only 3 tests left
* Getting close and only a few tests left
* I think I'm close with only 1 test left
* Does this mean the tests actually work now
* Was not using the helper classes anymore
* Now I'm really curious
* Need to rename the recently renamed class
* Was it really that easy? (No, it wasn't)
* Is this finally enough
* Also added another full percentage point of tests
* Trying to clean things up a bit more
* Now how does this look?
* Just a little more clean up
* Added a few more tests for the new helper functions
* Last pass on much better tests for this
* Oops, forgot to remove redundant tests
* Fix the fixtures
* Getting closer to something decent, I hope
* Another pass on the formatting of the number 1
* And yet another pass on these tests
* Tests cleaned up a bit more
* Minor updates as suggested
* Another pass on assert with metrics helper
* Now this is fully tested
* Add BaseBackupManager as a common interface for backup managers
* Document the key
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Keep the name
* Add patch
* Update homeassistant/components/tag/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Ensure config_flow abort reasons have translations
* Ignore fake_integration in application_credentials
* Mark gardena_bluetooth as needs fixing
* Mark google as needs fixing
* Mark google_assistant_sdk as needs fixing
* Mark homewizard as needs fixing
* Mark homeworks as needs fixing
* Mark honeywell as needs fixing
* Mark jewish_calendar as needs fixing
* Mark lg_netcast as needs fixing
* Mark lifx as needs fixing
* Mark lyric as needs fixing
* Mark madvr as needs fixing
* Mark matter as needs fixing
* Mark melcloud as needs fixing
* Mark motioneye as needs fixing
* Mark ollama as needs fixing
* Mark philips_js as needs fixing
* Mark spotify as needs fixing
* Mark srp_energy as needs fixing
* Mark subaru as needs fixing
* Mark tplink as needs fixing
* Mark yolink as needs fixing
* Mark youtube as needs fixing
* Fix incorrect comment
* decrease uptime accuracy from seconds to minutes
* adjust tests
* calc uptime timestamp in coordinator
* bump pyipp to 0.17.0
* revert changes, just use the new printer.booted_at property
---------
Co-authored-by: Chris Talkington <chris@talkingtontech.com>
* Add todo list response target for ListAddItemIntent
* Delete .vscode/settings.json
* Fix imports
* Add test
* Formatting
* Fix test
---------
Co-authored-by: Tom Harris <tomharris@harrisnj.net>
Co-authored-by: Michael Hansen <mike@rhasspy.org>
* 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>
* Add scene support to WMS WebControl pro
* Update homeassistant/components/wmspro/scene.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Create a device per room instead of scene
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Z-Wave JS: support non-dimmable color lights
* remove black_is_off light, support on/off/color
* fix: tests for on/off light
* fix: typo
* remove commented out old test code
* add test for off and on
* support colored lights without separate brightness control
* add test for color-only light
* refactor: extract color only light
* fix: preserve color when changing brightness
* extend tests
* refactor again
* refactor scale check
* refactor: remove impossible check
* review feedback
* review feedback
* fix discovery to handle all 3 switch CCs, limit search to same endpoint
* Update homeassistant/components/zwave_js/discovery.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/discovery.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add test for Smart Switch 7 state
* Add type annotations
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use aiohasupervosor for store addon info
* Use aiohasupervisor install addon
* Use aiohasupervisor for store info API
* Fix onboarding test
* Changes from feedback
* Move get_supervisor_client out of constructor
* Mock supervisor_client in tests
* Make property private
* Add ability to pass the config entry explicitely in data update coordinators
* Implement in accuweather
* Raise if config entry not set
* Move accuweather models
* Fix gogogate2
* Fix rainforest_raven
* Add tests for the Spotify media browser
* Add tests for the Spotify media browser
* Fix
* Fix comment
* Revert "Add tests for the Spotify media browser"
This reverts commit 59de6725d2.
* Add comment
* Add comment
* Deprecate hassio service to update addon
* Update homeassistant/components/hassio/strings.json
Co-authored-by: Stefan Agner <stefan@agner.ch>
* service -> action
* service -> action; in the title as well
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Make Changes.
* Change to match suggested changes.
* add Possible States to island status
* remove storm watch active sensor.
* Update the test_*.ambr files
* Update *.ambr files
* Add more infromation to Grid Status
* Remove storm mode strings and icons
* Use BSH keys as as unique id suffix instead of the simple description
* Update tests/components/home_connect/test_init.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Template domain blueprints
* Default blueprint for templates
* Some linting
* Template entity updates
* Load and use blueprints in config
* Added missing mapping methods for templates
* Linting
* Added tests
* Wrong schema type
* Hassfest errors
* More linting issues
* Refactor based on desired schema
In the [architecture discussion](https://github.com/home-assistant/architecture/discussions/1027), the template blueprint instance did not specify the platform (e.g. `binary_sensor`), but the initial implementation assumed that schema.
* Create default template blueprints on first run
* Moved TemplateConfig definition
This is to avoid circular references
* Corrected methods to find templates based on blueprints
* Corrected missing entity config information
* Added tests
* Don't use hass.data
Address comments https://github.com/home-assistant/core/pull/126971/#discussion_r1780097187
* Prevent creating blueprints during testing
* Combine 2 ifs
Address comment https://github.com/home-assistant/core/pull/126971/#discussion_r1780160870
* Improve test coverage
* Prevent template component from dirtying test env
* Remove useless hard-coded validation
* Improve code coverage to 100%
* Address review comments
* Moved helpers in helpers.py
As per comment https://github.com/home-assistant/core/pull/126971#discussion_r1786539889
* Fix blueprint source URL
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>