hass-core/tests/components/sonos
Allen Porter 12129e9d21
Update service call return values and error handling (#94657)
* Update return signature of service calls

* Add timeout error handling in websocket api for service calls

* Update recorder tests to remove assertion on service call

* Remove timeout behavior and update callers that depend on it today

* Fix tests

* Add missing else

* await coro directly

* Fix more tests

* Update the intent task to use wait instead of timeout

* Remove script service call limits and limit constants

* Update tests that depend on service call limits

* Use wait instead of wait_for and add test

* Update homeassistant/helpers/intent.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-06-16 07:01:40 -07:00
..
fixtures Use subscription callbacks to discover Sonos speakers (#85411) 2023-01-08 09:50:18 -10:00
__init__.py
conftest.py Sonos setup fails with unhandled exceptions on discovery messages (#90648) 2023-05-30 10:09:13 -05:00
test_config_flow.py Add type hints to integration tests (part 20) (#88179) 2023-02-15 15:23:34 +01:00
test_helpers.py Add return type to async tests without arguments (#87612) 2023-02-07 10:26:56 +01:00
test_init.py Sonos setup fails with unhandled exceptions on discovery messages (#90648) 2023-05-30 10:09:13 -05:00
test_media_player.py Add type hints to integration tests (part 20) (#88179) 2023-02-15 15:23:34 +01:00
test_number.py Add balance entity for Sonos speakers (#85205) 2023-04-23 01:18:17 +02:00
test_plex_playback.py Update service call return values and error handling (#94657) 2023-06-16 07:01:40 -07:00
test_repairs.py Add type hints to tests (#92477) 2023-05-04 11:25:35 +02:00
test_sensor.py Adjust entity registry access in tests (3) (#88964) 2023-03-01 16:04:40 +01:00
test_services.py Add type hints to integration tests (part 20) (#88179) 2023-02-15 15:23:34 +01:00
test_speaker.py Create repair issue if Sonos subscriptions fail (#87437) 2023-04-22 19:28:04 +02:00
test_statistics.py Add type hints to integration tests (part 20) (#88179) 2023-02-15 15:23:34 +01:00
test_switch.py Import util.dt as dt_util in components/[p-s]* (#93761) 2023-05-30 00:09:42 +03:00