Commit Graph

67 Commits (74e4654c26177909e653921f27f838fd1366adc0)

Author SHA1 Message Date
Artur Pragacz 1ca2f3393c
Add data description for Onkyo config flow () 2024-12-05 21:15:40 +01:00
Artur Pragacz c38a33d330
Fix missing AV info in Onkyo ()
Add additional AV info to Onkyo
2024-12-05 11:48:15 -06:00
Artur Pragacz f68b78d00e
Add quality scale to Onkyo ()
* Add quality scale to Onkyo

* Update homeassistant/components/onkyo/quality_scale.yaml

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* docs limitations todo

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* entity event setup

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-12-05 02:34:07 +01:00
epenet 7ce74cb5ec
Use read-only options in onkyo options flow () 2024-11-06 15:14:59 +01:00
epenet e1e731eb48
Drop use of initialize_options in onkyo ()
* Drop use of initialize_options in onkyo

* Apply suggestions from code review

Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>

---------

Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2024-11-05 08:56:58 +01:00
Artur Pragacz 617e87e02c
Fix source mapping in Onkyo ()
* Fix source mapping

* Fix copy paste
2024-11-04 21:56:47 -05:00
epenet cc4fae10f5
Cleanup deprecated OptionsFlowWithConfigEntry (part 2) () 2024-11-04 18:55:49 +01:00
Artur Pragacz ed6123a3e6
Add reconfigure step to Onkyo config flow () 2024-10-30 14:31:43 +01:00
Nebula83 937dbdc71f
Add config flow to Onkyo ()
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
Co-authored-by: Artur Pragacz <artur@pragacz.com>
Co-authored-by: Joostlek <joostlek@outlook.com>
2024-10-24 12:45:25 +02:00
epenet c759512c70
Prevent callback decorator on coroutine functions ()
* Prevent callback decorator on async functions

* Adjust

* Adjust

* Adjust components

* Adjust tests

* Rename

* One more

* Adjust

* Adjust again

* Apply suggestions from code review

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-23 02:55:55 +02:00
Artur Pragacz bad305dcbf
Add Onkyo to strict typing () 2024-09-04 19:11:34 +02:00
Artur Pragacz fdce524811
Add Onkyo Receiver class to improve typing () 2024-09-03 15:27:33 +02:00
Artur Pragacz fc24843274
Fix Onkyo action select_hdmi_output ()
* Fix Onkyo service select_hdmi_output

* Move Hasskey directly under Onkyo domain
2024-09-03 12:43:31 +02:00
Artur Pragacz a7c6abc54e
Always assign unique_id in Onkyo () 2024-08-23 21:04:44 -07:00
Artur Pragacz e6c61f207d
Rework Onkyo discovery and interview ()
* Rework Onkyo discovery and interview

* Move class outside setup function

* Revert changing default name

* Rename to volume resolution
2024-08-18 17:14:33 +02:00
epenet 36d8ffa79a
Force alias when importing media player PLATFORM_SCHEMA () 2024-06-26 12:19:04 +02:00
Artur Pragacz a4ba346dfc
Switch onkyo to pyeiscp, making it local_push ()
* Switch onkyo to pyeiscp, making it local_push

Major rewrite of the integration to use pyeiscp.
This facilitates use of the async push updates.
Streamline the code dealing with zones.
Handle sound mode.
Add myself to codeowners.

* Add types

* Add more types

* Address feedback

* Remove sound mode support for now

* Fix zone detection

* Keep legacy unique_id
2024-06-26 10:28:06 +02:00
Artur Pragacz 42b62ec427
Fix Onkyo zone volume () 2024-06-19 22:48:34 +02:00
Spacetech 1649957e5c
Expose dynamic range status in Onkyo media player ()
Expose HDR status in Onkyo media player

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-23 16:39:11 +02:00
Sid f7b7f74d10
Enable Ruff TRY201 ()
* Enable Ruff TRY201

* remove redundant rules
2024-03-28 10:18:07 +01:00
Marc Mueller 988c71ecc5
Add empty line after module docstring [n-q] () 2024-03-08 15:04:07 +01:00
epenet 4836404288
Improve media_player type hints in integrations ()
Fix some media_player type hints
2023-03-21 11:10:12 +01:00
Erik Montnemery 1450b44c63
Sort manifests 7 () 2023-02-08 20:32:43 +01:00
Franck Nijhof 3d557b5583
Collection of code styling tweaks () 2023-02-04 12:52:26 -05:00
Franck Nijhof ca1a12898c
Enable Ruff D212 () 2023-02-03 23:08:48 +01:00
Franck Nijhof baef267f33
String formatting and max line length - Part 3 () 2022-12-22 13:35:47 +01:00
epenet 19abba7f6b
Use _attr in onkyo media player () 2022-11-28 10:42:38 +01:00
epenet 18e30e7c06
Adjust type hints for MediaPlayerEntityFeature () 2022-11-17 13:58:34 +01:00
epenet 7871a517a8
Import constants from root () 2022-09-12 18:53:05 +02:00
epenet 2f8af92735
Use new media player enums [m-o] () 2022-09-08 22:47:59 +02:00
epenet ea71a462d6
Improve entity type hints [o] () 2022-09-06 10:25:35 +02:00
epenet cac8d71764
Use EntityFeature enum in components (o**) () 2022-04-07 15:15:05 +02:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json () 2022-01-28 13:37:53 -08:00
epenet 8756fa28e2
Add setup type hints [o-q] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-05 16:29:21 +01:00
epenet 709afc63b0
Ensure service calls are typed [m-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-29 22:41:55 +01:00
Feliksas The Lion 13b001cd9b
Fix Zone 2 and Zone 3 detection in onkyo () 2021-08-30 20:33:52 -07:00
Andreas Brett 172769d19c
Fix onkyo UnboundLocalError ()
audio_information_raw and video_information_raw were in some cases used before being assigned

error: UnboundLocalError: local variable 'video_information_raw' referenced before assignment
2021-07-31 14:47:51 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest () 2021-04-15 10:21:38 +02:00
Marc Mueller 3d2b81a401
Update typing 11 () 2021-03-18 13:21:46 +01:00
Erik Montnemery 14a59d290a
Update integrations j-o to override extra_state_attributes() () 2021-03-11 20:11:25 +01:00
On Freund 1a8cdba9af
Gracefully handle missing A/V info in Onkyo integration ()
* Gracefully handle missing A/V info

* Do not attempt to query A/V info if unsupported

* Rename _parse_onkyo_tuple
2021-02-13 12:03:49 +01:00
On Freund 03b2fbd043
Fix Typo in Onkyo A/V info () 2021-01-15 15:18:45 -05:00
On Freund 2ac658d257
Get A/V info for Onkyo receivers ()
* Get A/V info for Onkyo receivers

* Fix lint errors

* Remove blank line

* Trigger CI
2021-01-14 09:39:11 +01:00
ZzetT d8f2d04b4f
Fix volume calculation of Onkyo MediaPlayer ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-09 22:43:55 +01:00
Matthias Alphart 93a9a11065
Add config validator helper positive_float () 2020-10-11 22:04:49 +02:00
tizzen33 061d88f875
Fix 'Not Available' message for Onkyo integration () 2020-08-17 00:06:22 +02:00
Villhellm c403c77cff
Catch AssertionError when onkyo zone 3 detection fails ()
This error would cause the entire integration to fail. This at least catches it gracefully.
2020-08-02 14:06:16 -05:00
Jeroen Van den Keybus a1e2bce1b9
Fix detection of zones 2 and 3 in Onkyo/Pioneer amplifiers () 2020-07-28 01:40:21 +02:00
Erik Montnemery 62bc02fdda
Rename MediaPlayerDevice to MediaPlayerEntity () 2020-04-25 18:00:57 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00