* Remove the old ZWave controller from the list of migration targets
* ensure addon device path is serial/by_id
* Use executor
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Added shared space to the list of all the albums
* Added tests
* added more tests
* Apply suggestions from code review
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
* Assist Pipeline stream TTS when supported and long response
* Indicate in run-start if streaming supported
* Simplify a little bit
* Trigger streaming based on characters
* 60
* Move make_zmanim() method to entity
* Move enum values to setup
* Create a Jewish Calendar Sensor Description
* Hold a single variable for the runtime data in the entity
* Move value calculation to sensor description
* Use a base class to keep timestamp sensor inheritance
* Move attr to entity description as well
* Move options to entity description as well
* Fix tests after merge
* Put multiline in parentheses
* Fix diagnostics tests
* Suez water: fetch historical data in statistics
* test review
* wip: fix few things
* Python is smarter than me
* use snapshots for statistics and add hard limit for historical stats
* refactor refresh + handle missing price
* No more auth error raised
* fix after rebase
* Review - much cleaner <3
* fix changes
* test without snapshots
* fix imports
* Create repair issue if not all add-ons or folders were backed up
* Fix spelling
* Fix _collect_errors
* Make time patching by freezegun work with mashumaro
* Addd test to hassio
* Add fixture
* Fix generating list of folders
* Add issue creation tests
* Include name of failing add-on in message
* Improve code formatting
* Rename AddonError to AddonErrorData
* Use preferred spelling of "setpoint" in `smartthings`
Change three occurrences of "set point" to "setpoint" to match the preferred spelling in Home Assistant.
* Update test_sensor.ambr
* Update test_sensor.ambr (2)
* fix issues with checking mac address for panels added manually
* add test
* don't allow discovery to pick up a host twice
* make sure we validate tests without a mac address
* check entry is loaded
* Update config_flow.py
* apply changes from review
* assert unique id
* assert unique id
* Sort usb ports in Z-Wave flow so unknown devices are last
* tweak
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add media_source platform
* fix error messages
* use mime-type from asset info, instead of guessing it
* add dependency for http
* add tests
* use direct imports and set can_play=False for images
* fix tests
* Enable RFDEBUG on "Enable debug logging"
* fix checks
* fix checks
* one more lap
* fix test
* wait to init rflink
In my dev env this is not needed
* use hass.async_create_task(handle_logging_changed())
instead async_at_started(hass, handle_logging_changed)
* revert unneeded async_block_till_done
* Remove the startup management
There's a race condition at startup that can't be managed nicely
* Add energy/water forecast & fix drying_step error
Adding the energy forecast and water forecast entities that are present in the HACS version of this integration but absent in the HA Core implantation.
Also fixed the state_drying_step sensor which wasn't handling casting of the API value to an int correctly due to the API sometimes giving a None value.
* Fix formatting issues from previous commit
* Fix missing translation_key line 202
* Remove icon entries
* Update icons.json
* Update strings.json
* Update strings.json (correcting mixed up energy/water forecast names)
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Update homeassistant/components/miele/strings.json
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
* Fix tests
---------
Co-authored-by: Åke Strandberg <ake@strandberg.eu>
Co-authored-by: Joostlek <joostlek@outlook.com>
* Fix Nanoleaf light state propagation after change from home asisstant
* Add tests to check if nanoleaf light is triggering async_write_ha_state
* Fix pylint for test case
* Fix use coordinator.async_refresh instead of async_write_ha_state
* Fix tests
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* add immich integration
* bump aioimmich==0.3.1
* rework to require an url as input and pare it afterwards
* fix doc strings
* remove name attribute from deviceinfo as it is default behaviour
* add translated uom for count sensors
* explicitly pass in the config_entry in coordinator
* fix url in strings to uppercase
* use data_updates attribute instead of data
* remove left over
* match entries only by host
* remove quotes
* import SOURCE_USER directly, instead of config_entries
* split happy and sad flow tests
* remove unneccessary async_block_till_done() calls
* replace url example by "full URL"
* bump aioimmich==0.4.0
* bump aioimmich==0.5.0
* allow multiple users for same immich instance
* Fix tests
* limit entities when user has no admin rights
* Fix tests
* Fix tests
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Add binary sensor tests
* Wait for background tasks as well in test_binary_sensor_update_failure
* Fix module docstring
* Use snapshot_platform, move constants to const.py, do not use snapshot for testing state updates
* Use JSON fixtures
* Use helper for loading JSON fixtures, remove unneeded mock in setup_integration
* Move mocks to pytest markers where possible
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Set the default upgrade icon for the MQTT device to the default icon for Home Assistant instead of the icon for the MQTT integration
* Fix failed tests
* Fix failed tests
* Cleanup unused helper option
* ruff
---------
Co-authored-by: jbouwh <jan@jbsoft.nl>
* Refactor Fan
* Add tower fan tests and mode
* Schedule update after turn off
* Adjust updates to refresh library
* correct off command
* Revert changes
* Merge corrections
* Remove unused code to increase test coverage
* Ruff
* Tests
* Test for preset mode
* Adjust to increase coverage
* Test Corrections
* tests to match other PR
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update door switch strings so they are more user friendly
* Update door switch strings so they are more user friendly
* Update door switch strings so they are more user friendly
* update strings
* update strings
* Add dhcp discovery
* Update homeassistant/components/bosch_alarm/config_flow.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* put mac address in entry instead of unique id
* Update host and mac via dhcp discovery
* add mac to connections
* Abort dhcp flow if there is already an ongoing flow
* apply changes from review
* apply change from review
* remove outdated test
* fix snapshots
* apply change from review
* clean definition for connections
* update quality scale
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add another EHS SmartThings fixture
* Add another EHS
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Add water heater support to SmartThings
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Fix
* Add more tests
* Make target temp setting conditional
* Make target temp setting conditional
* Finish tests
* Fix
* Add modern configuration for template alarm control panel
* address comments and add tests for coverage
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add media search intent
* Add PLAY_MEDIA as required feature and remove explicit responses
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org>
* Add binary sensors to bosch_alarm
* make one device per sensor, remove device class guessing
* fix tests
* update tests
* Apply suggested changes
* add binary sensors
* make fault sensors diagnostic
* update tests
* update binary sensors to use base entity
* fix strings
* fix icons
* add state translations for area ready sensors
* use constants in tests
* apply changes from review
* remove fault prefix, use default translation for battery low
* update tests
* Add buttons to Blue current integration
* Apply feedback
* Changed configEntry to use the BlueCurrentConfigEntry.
The connector is now accessed via the entry instead of hass.data.
* Changed test_buttons_created test to use the snapshot_platform function.
Also removed the entry.unique_id check in the test_charge_point_buttons function because this is not needed anymore, according to https://github.com/home-assistant/core/pull/114000#discussion_r1627201872
* Applied requested changes.
Changes requested by joostlek.
* Moved has_value from BlueCurrentEntity to class level.
This value was still inside the __init__ function, so the value was not overwritten by the ChargePointButton.
---------
Co-authored-by: Floris272 <florispuijk@outlook.com>
* Remove _attr_name = None from generic base class
* Add support for identify buttons to WMS WebControl pro
* Fix PERF401 as suggested by joostlek
* Fix fixture name after rebase
* Split test
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Fix motor control function names
* Add position logic for BS4
* Use helper methods from pypck
* Add motor positioning to domain_data schema
* Fix tests
* Add motor positioning via module
* Invert motor cover positions
* Merge relay cover classes back into one class
* Update snapshot for covers
* Revert bump lcn-frontend to 0.2.4
* First try to use snapshot testing for sensors
* Use snapshot testing
* Add ambr files
* Update comment
* Address review comments
* Remove duplicate async init integration call
* Add device test for cases w/o SERIALNO
* Use friendlier snapshot names
* Use * to mandate keyed argument for async_init_integration
* Always pass mock config entry ID
* Fix incorrect ID
Co-authored-by: abmantis <amfcalt@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
* aioesphomeapi update
* Bump aioesphomeapi to 31.0.0
There are some breaking changes with the protobuf naming and types
required some refactoring
changelog: https://github.com/esphome/aioesphomeapi/compare/v30.2.0...v31.0.0
* actually include the commit to bump the lib
* Refactor test setup for unique ID migration in Overkiz integration
* Refactor test cases to unify result variable usage in Overkiz config flow tests (resultn -> result)
* Revert change in test_init
* Initial fan
* add more tests
* add last fan tests and small fixes
* fix tests after latest change
* another small correction
* use common strings
* add snapshot test
* fix review comments
* fix typing
* remove uneeded None
* remove unwanted file
* fix turn_on function
* typo
* Use constants for preset modes.
* fix review notes.
* add switch platform to bosch alarm
* fix tests
* one device per output
* add switch for door
* add switch entities for door
* fix switch devices
* apply changes from review
* update identifiers
* add missing entity
* use base entity for switch
* rename var
* fix icons
* give user a nice error if they try to lock or secure a door that is in the process of being cycled
* fix test
* Update homeassistant/components/bosch_alarm/switch.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Update homeassistant/components/bosch_alarm/switch.py
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* use service constants
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Ignore entries with source reconfigure in _async_abort_entries_match
* Exclude reconfigure and reauth entry from match check
* Add tests
* Fix tests for other components
* Revert unrelated changes
* Update docstring
* Make test more realistic
* Change name and docstring for sabnzbd test
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* [CambridgeAudio Integration] Add switch to enable Control Bus Mode
* remove load_fn
* Add import for ControlBusMode
* Add strings for control_bus_mode
* Add icons for control_bus_mode
* Add test case for the select ControlBusMode.Amplifier
* Change the set of icons
* Fix the usage of the wrong property name
* Fix test
* Fix test 2
* add new snapshot
* fix test name
* Fix
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* first cut at update entties
* remove sensors for now
* make update vserion less wordy
* fix re escape
* Use name
* use Caps
* fix translation
* move all data manipulation to data prepare fn, refine regexes and provide as much info as possible
* fix formatting
* update return type
* fix class inherit
* Fix ruff
* update tests
* fix spelling
* ruff
* Update homeassistant/components/squeezebox/update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* Update tests/components/squeezebox/test_update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* Update tests/components/squeezebox/test_update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* Update tests/components/squeezebox/test_update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* Update tests/components/squeezebox/test_update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* Update tests/components/squeezebox/test_update.py
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
* fix tests
* ruff
* update text based on feedback from docs
* make the plugin update entity smarter
* update plugin updater tests
* define attr
* Callable type
* callable guard
* ruff
* add local release info page
* fix typing
* refactor use release notes for LMS update
* Make update simple and produce a release summary instead
* Update tests
* Fix tests
* Tighten english
* test for restart fail
* be more explicit with coordinator error
* remove unused regex
* revert error msg unrealted
* Fix newline
* Fix socket usage during tests
* Simplify based on new lib version
* CI Fixes
* fix typing
* fix enitiy call back
* fix enitiy call back types
* remove some unrelated titdying
---------
Co-authored-by: Raj Laud <50647620+rajlaud@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
* Add snapshot tests for sensors
* Code cleanup
* Patch during async_setup only
* Use snapshot_platform, split platforms for snapshot tests
* Make mock_config_entry and mode fixtures
* Update snapshots with latest device and state class changes
* Move setup_platform to __init__.py and patch HA object instead of library
* Remove if statements in tests
* Add client mock fixture to patch get_weather instead of internal call
* Code cleanup
* Test explicit list of modes
* Fix
* Fix
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* Move strings from entity descriptions to strings.json
* Use the original name values
* Fix casing
* Use "real" english names as well as transliterated names
* Add hob support to SmartThings
* Add hob support to SmartThings
* Add hob support to SmartThings
* Fix
* Update homeassistant/components/smartthings/icons.json
* Improve Voip pipeline stability
It appears the pipeline is being unexpectedly cancelled in some
instances. In order to mitigate this issue hang ups will be detected
using a separate task rather than relying on timeouts in the STT read
method. Also reading STT events will be retried once if it is cancelled.
The pipeline will also catch and log any CancelledErrors to help with
further debugging.
* Update Voip tests
* Remove unnecessary changes
Remove unnecessary logging and cancelled error handling in wyoming STT.
* Remove comment about clearing system prompt
The test no longer checks for clearing the system prompt. Since that
logic exists completely in the assist_satellite component I think it is
reasonable to only test that logic in the unit tests for that component.
* Re-raise cancellation
Re-raise CancelledError if the current task is cancelling in the check hangup task
Co-authored-by: J. Nick Koston <nick@koston.org>
* Re-raise CancelledError in pipeline as well
* Fix formatting issue
* Remove unnecessary logging
* Add MockResultStream import to tests
This was presumably missed while merging
* Cancel check hangup task on disconnect
* Add myself as codeowner for VoIP
* Update CODEOWNERS
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>