* Add support for the wait.completed variable when using wait with triggers
* Remove junk comment
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add logs/follow to admin paths in hassio.http
* Add tests for logs/follow admin paths in hassio.http
* Add tests for logs/follow admin paths in hassio.http
* Add compress and timeout exclusions for hassio http api
* Fix should_compress usage in hassio/ingress
* Add missing follow exceptions for hassio/http
* Add hassio range header forward for logs endpoints
* Fix test syntax hassio/http
* Add limited template to at field for time triggers
* fix mypy
* Fix comments
* fix-tests
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add OSO Energy services
* Fixes after review
* Add tests for OSO Energy water heater
* Fixes after review
* Revert changes for service schema in OSO Energy
* Improve osoenergy unit tests
* Add service definition for saving snapshot of image entity
* Add service to image
* Add tests for image entity service
* Fix tests
* Formatting
* Add service icon
* Formatting
* Formatting
* Raise home assistant error instead of single log error
* Correctly pass entity id
* Raise exception from existing exception
* Expect home assistant error
* Fix services example
* Add test for templated snapshot
* Correct icon service config
* Set correct type for service template
* Remove unneeded
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* remove template
* fix imports
* Update homeassistant/components/image/__init__.py
* Apply suggestions from code review
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add motion binary_sensor for tplink
* Remove strings definition as we have device class that handles this
* Simplify instructions
* Remove mentions about fixture creation and snapshot updates as requested
* re-add newline
* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
* Add subscription tier to Twitch integration.
* Add test for Twitch tiers. Tests do not currently pass, so this is only theoretical.
* Fix variable type
* Show tier levels as 1,2,3 instead of the raw API values of 1000,2000,3000.
* Make Twitch subscription tier fixtures strings.
* Use proper assertion value for subscription tier test.
Edited on a bus on my phone. 😎
* Update homeassistant/components/twitch/coordinator.py
* Update tests/components/twitch/test_sensor.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update sensor.py for new FALMOT Sensors
First Integration attemp to support ValvePosition as Sensor for HmIP-FALMOT-C12
* Update sensor.py
* Update sensor.py
* Add Valve Position to FALMOT-C12
* modified: devcontainer
* Service für minimum vale postion hinzugefügt.
* update to services
* Service call optimized
* Add valvePosition to HomematicIP Cloud for Falmot-C12 and show only channels that are connected with an motorized actuator
* Fix some tests
* Add icon for service
* Fix tests, add check for ValveState in icon
* Remove minimum valve service
* REmove minimum valve
* Use list comprehension for devices, support other terminal blocks
* Remove unused constant
* Check correct channel
---------
Co-authored-by: thecem <46648579+thecem@users.noreply.github.com>
* Move set addon options to aiohasupervisor
* addon stats to aiohasupervisor and test fixes
* addon changelogs to aiohasupervisor
* Raise correct error for library in tests
* Cache client in instance property
* Use singleton method rather then HassIO instance method
* Mock supervisor client in more tests
* Add set_active_sensors Service
* Remove version bump from service addition commit
* Reviewer suggested changes
* Changed naming to be more clear of functionality
* Adjusted additional naming to follow new convention
* Updated to pass failing CI tests
* Fix typo
* Fix to pass CI
* Changed argument from climate_name to preset_mode and changed service error
* Made loop more clear and changed raised error to log msg
* Fix typo
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Removed code that was accidentally added back in and fixed mypy errors
* Add icon for service
* Added sensors as attributes and updated tests
* Revert changes made in #126587
* Added tests for remote_sensors and set_sensors_used_in_climate
* Changed back to load multiplatforms (#126587)
* Check for empty sensor list and negative tests for errors raised
* Added tests and fixed errors
* Add hass to class init to allow for device_registry lookup at startup and check for name changed by user
* Added tests to test the new functions
* Simplified code and fixed testing error for simplification
* Added freeze in test
* Fixed device filtering
* Simplified code section
* Maintains the ability to call `set_sensors_used_in_climate` function even is the user changes the device name from the ecobee app or thermostat without needing to reload home assistant.
* Update tests with new functionality. Changed thermostat identifier to a string, since that is what is provided via the ecobee api
* Changed function parameter
* Search for specific ecobee identifier
* Moved errors to strings.json
* Added test for sensor not on thermostat
* Improved tests and updated device check
* Added attributes to _unrecoreded_attributes
* Changed name to be more clear
* Improve error message and add test for added property
* Renamed variables for clarity
* Added device_id to available_sensors to make it easier on user to find it
---------
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix reload not triggered on DisabledError in HomeWizard
* Update homeassistant/components/homewizard/coordinator.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Use helper and fix merge issue
* Add test to detect reload on DisabledError
* Wait until next update instead of a direct call to update
* Add doc why we reload
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Refactor unittest tests to use pytest
* Add type annotations
* Use caplog to assert logs
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add ability to enable / disable entities in the ZHA lib
* disable entities at startup that are not enabled in HA
* fix IEEE lookup
* wrap in async_on_unload
* add test and correct lookup
* 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>