Commit Graph
116 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub a21664429b Migrate calls to async_get_device in tests (part 2) (#178326) 2026-08-07 11:08:23 +02:00
Josef ZweckandGitHub f7a8f0b077 Add search_media_classes to media browser (#177146) 2026-07-23 21:55:02 +02:00
8e7deee967 Add pylint checker to check for using registries as fixture (#172455)
Co-authored-by: Markus Tuominen <3738613+Markus98@users.noreply.github.com>
2026-07-22 09:56:23 +03:00
Erik MontnemeryandGitHub 1d885bd073 Restrict device registry entries to a single config entry and subentry (#175785) 2026-07-16 22:10:10 +02:00
fe8b145a84 Add search functionality to media source (#175485)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-03 16:16:33 -04:00
epenetandGitHub 0c4bc95bdd Migrate base entity attributes to StrEnum (#174633) 2026-06-24 15:38:49 +01:00
epenetandGitHub 308fad166d Migrate media player entity attributes to StrEnum (#174605) 2026-06-24 11:16:33 +02:00
Franck NijhofGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
95f3bd7c09 Fix line length violations in tests/components h (#170955)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-17 13:09:56 +02:00
Franck NijhofandGitHub 7da2014ff2 Add pylint checker for redundant @pytest.mark.usefixtures decorator (#170787) 2026-05-15 20:29:33 +02:00
epenetandGitHub 88525955ce Remove import annotations from tests (#169527) 2026-04-30 09:30:46 +02:00
Erik MontnemeryandGitHub 6d8d447355 Revert "Add last_non_buffering_state media_player state attribute (#166941)" (#168285) 2026-04-15 14:41:02 +02:00
Marc MuellerandGitHub bf4773d9bc Fix asyncio loop scopes for pytest fixtures (#166758) 2026-04-02 22:25:17 +02:00
Erik MontnemeryandGitHub b350712f9e Add last_non_buffering_state media_player state attribute (#166941) 2026-03-31 12:22:13 +02:00
Robert MeijersandGitHub 023dd9d523 Discover Heos players using Zeroconf (#144763) 2025-07-13 09:56:31 -05:00
bf69d4e0a8 Add search to media_player (#140321)
* Add search to media_player

* rename attr

* Add searchable property

* add pagination parameters

* Add suggested changes

* Apply suggestions

* Fix cast tests

* Fix first set of components

* update snapshot

* More tests

* more test fixes

* Rename attr

* first own test

* Add to google test

* Add service test

* Rename search query arg

* Add required feature to search service

* remove kwarg

* Update homeassistant/components/media_player/__init__.py

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>

* fix hue test

---------

Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2025-04-16 23:09:16 +02:00
Andrew SayreandGitHub 660cbc136f Add move queue item HEOS entity service (#142301) 2025-04-05 15:05:01 -05:00
Andrew SayreandGitHub ba00707d89 Add HEOS entity service to remove queue items (#141495)
* Add remove queue items service

* Tests

* Correct casing of ID

* Match docs
2025-03-28 11:09:01 -05:00
Andrew SayreandGitHub 6bfd39f094 Add play queue item to HEOS (#141480)
Add ability to play specific queue item
2025-03-26 15:47:10 -05:00
Andrew SayreandGitHub ab709aeb46 Add Get Queue HEOS entity service (#141150) 2025-03-25 16:55:44 -05:00
Andrew SayreandGitHub ec4de0dcce Always allow browsing TuneIn for HEOS (#141131)
* Always allow browsing TuneIn

* Update test snapshots

* Retry CI
2025-03-22 18:14:42 +01:00
Andrew SayreandGitHub 52d86ede3e Add ability to browse (and play) HEOS media (#140433)
* Add browse and play

* Tests

* Add tests involving media source
2025-03-17 14:10:56 -05:00
Andrew SayreandGitHub d8bcba9ef0 Enable HEOS automatic failover (#140394)
Failover
2025-03-11 13:00:43 -05:00
Andrew SayreandGitHub 6e2148193a Bump pyheos to v1.0.3 (#140310)
Bump pyheos v1.0.3
2025-03-11 09:18:31 +01:00
Andrew SayreandGitHub 81e6b93529 Fix HEOS user initiated setup when discovery is waiting confirmation (#140119) 2025-03-08 14:57:44 +01:00
Andrew SayreandGitHub deea19db51 Fix HEOS discovery error when previously ignored (#140091)
Abort ignored discovery
2025-03-07 23:31:32 -05:00
Andrew SayreandGitHub b73c6ed768 Update HEOS host from discovery (#138950) 2025-02-21 13:32:36 +01:00
Andrew SayreandGitHub 2d0967994e Fix ability to set HEOS options (#138235) 2025-02-20 13:14:57 +01:00
Andrew SayreandGitHub 1d3fcc67b8 Select preferred discovered HEOS host (#138779)
* Select preffered host from discovery

* Remove invalid test comment
2025-02-19 11:51:47 -06:00
Andrew SayreandGitHub 6613b46071 Add HEOS group volume down/up actions (#138801)
Add group volume down/up actions
2025-02-18 15:53:59 -06:00
Andrew SayreandGitHub 3659fa4c4e Add HEOS entity service to set group volume level (#136885) 2025-02-18 11:56:50 -06:00
Andrew SayreandGitHub 34a33e0465 Create HEOS devices after integration setup (#138721)
* Create entities for new players

* Fix docstring typo
2025-02-17 09:28:55 -06:00
Andrew SayreandGitHub 89956adf2e Allow removal of stale HEOS devices (#138677)
Allow device removal
2025-02-17 08:47:11 +01:00
Andrew SayreandGitHub 7aab1de72d Bump pyheos to v1.0.2 (#138224)
Bump pyheos
2025-02-10 21:18:12 +02:00
4b34d1bbb5 Merge config subentry feature branch to dev (#136121)
* Reapply "Add support for subentries to config entries" (#133470) (#136061)

* Reapply "Add support for subentries to config entries" (#133470)

This reverts commit ecb3bf79f3.

* Update test snapshot

* Add config subentry support to device registry (#128157)

* Add config subentry support to device registry

* Apply suggestions from code review

* Update syrupy serializer

* Update snapshots

* Address review comments

* Allow a device to be connected to no or a single subentry of a config entry

* Update snapshots

* Revert "Allow a device to be connected to no or a single subentry of a config entry"

This reverts commit ec6f613151cb4a806b7961033c004b71b76510c2.

* Update test snapshots

* Bump release version in comments

* Rename config_subentries to config_entries_subentries

* Add config subentry support to entity registry (#128155)

* Add config subentry support to entity registry

* Update syrupy serializer

* Update snapshots

* Update snapshots

* Accept suggested changes

* Clean registries when removing subentry (#136671)

* Clean up registries when removing subentry

* Update tests

* Clean up subentries from deleted devices when removing config entry (#136669)

* Clean up subentries from deleted devices when removing config entry

* Move

* Add config subentry support to entity platform (#128161)

* Add config subentry support to entity platform

* Rename subentry_id to config_subentry_id

* Store subentry type in subentry (#136687)

* Add reconfigure support to config subentries (#133353)

* Add reconfigure support to config subentries

* Update test

* Minor adjustment

* Rename supported_subentry_flows to supported_subentry_types

* Address review comments

* Add subentry support to kitchen sink (#136755)

* Add subentry support to kitchen sink

* Add subentry reconfigure support to kitchen_sink

* Update kitchen_sink tests with subentry type stored in config entry

* Update kitchen_sink

* Update kitchen_sink

* Adjust kitchen sink tests

* Fix hassfest

* Apply suggestions from code review

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

* Improve docstrings and strings.json

---------

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

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

* Update snapshots

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-02-10 16:40:07 +01:00
Andrew SayreandGitHub dd82212e45 Handle previously migrated HEOS device identifier (#137596) 2025-02-07 09:04:34 -06:00
Andrew SayreandGitHub bc7c5fbc86 Fix typing errors in HEOS tests (#136795)
* Correct typing errors of mocked heos

* Fix player related typing issues

* Sort mocks
2025-01-28 22:44:57 -05:00
Andrew SayreandGitHub c4f8de8fd9 Raise exceptions in HEOS custom actions (#136546) 2025-01-28 14:08:40 +01:00
Andrew SayreandGitHub c2da844f76 Add HEOS diagnostics (#136663) 2025-01-28 14:02:15 +01:00
Andrew SayreandGitHub b27ee261bb Fix HEOS play media type playlist (#136585) 2025-01-26 17:25:30 +01:00
Andrew SayreandGitHub 2fb85aab8e Incorporate GroupManager into HEOS Coordinator (#136462)
* Incorporate GroupManager

* Update quality scale

* Fix group params

* Revert quality scale change

* Rename varaible

* Move group action implementaton out of coordinator

* Fix get_group_members hass access

* entity -> entity_id
2025-01-25 18:04:33 +01:00
a3ba3bbb1d Incorporate SourceManager into HEOS Coordinator (#136377)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-01-24 11:56:41 +01:00
Andrew SayreandGitHub 507239c661 Incorporate ControllerManager into HEOS Coordinator (#136302)
* Integrate ControllerManager

* Test for uncovered

* Correct test docstring

* Cast entry before graph access

* Assert config_entry state in reauth

* Use implicit casting
2025-01-23 12:52:56 -06:00
Andrew SayreandGitHub 52f77626f7 Implement Coordinator for HEOS (initial plumbing) (#136205) 2025-01-22 22:12:05 +01:00
Andrew SayreandGitHub f4d6cb45e5 Add repeat feature to HEOS media player (#136180) 2025-01-22 12:25:56 +01:00
Andrew SayreandGitHub 9bf2996ea0 Update HEOS tests to not interact directly with integration internals (#136177) 2025-01-21 16:00:34 +01:00
Andrew SayreandGitHub 79a43b8a50 Update HEOS tests to not patch internals (#136136) 2025-01-21 08:26:34 +01:00
Andrew SayreandGitHub d7ec99de7d Remove yaml config fixture from HEOS tests (#136123) 2025-01-20 22:18:46 +01:00
Andrew SayreandGitHub dde6dc0421 Raise exceptions in HEOS service actions (#136049)
* Raise errors instead of log

* Correct docstring typo
2025-01-20 13:29:57 -06:00
epenetandGitHub af40b6524e Use new ServiceInfo location in component tests (part 3) (#136064) 2025-01-20 13:16:59 +01:00
Andrew SayreandGitHub 439f22f584 Fix HEOS device information (#135940) 2025-01-19 15:07:00 +01:00