0.6.0
What's Changed
Warning
Please check out the Breaking Changes below if you use the Python API.
Tuner
- Support setting tuner frequency directly ff2161d 252bcef
- Fix frequency stepping when setting directly not supported 252bcef bbe1f66 bbe1f66 bbe1f66 252bcef
- Query and update tuner frequency before updating preset 55ae49d 273b9d9 9277b97 252bcef a3699ee
- Invalidate cached preset when frequency changes dcf5a15 4991314
- Check band argument in
select_tuner_band
0f75e4b - Add
tuner_previous_preset
andtuner_next_preset
commands 8455983 - Add
select_tuner_band
,tuner_next_preset
andtuner_previous_preset
methods 4359b7c bd05c51
Status polling
- Defer initial update if AVR Zone 1 is off on startup 4409e9a 4ad2caa 4409e9a 12593ec 88a9050
- Optimise queries on update 3d1baa2 565e5c5 b6b1c31 4409e9a
- Fix query commands supporting multiple zones not being executed on zone 1 34329d3
- Trigger update of
Zones.ALL
on power and input source changes 0c24787 - Refactor command queue processing and introduce local commands fa1a6b9 273b9d9 2fd6698 32470bd 32470bd 12593ec b852624
- Don't skip update if updates are locked 156c4b7
- Expose
command_queue_schedule
method 85eb6c5
Response parsing
- Restructured parsers functions and classes 8c657cd 8c657cd 32470bd
- Changed tuner response parser default zone to match commands dcf5a15
- Remove tabs and newlines from display 0f74481
- Include last character of display information 92ec860
- Decode correct bytes for signal_input_resolution 92ec860
- Fix video signal_input_resolution property parsing 575ad90
Miscellaneous
- Update Main Zone terminology to Zone 1 368b7d6
- Return command response for
turn_on
,turn_off
andset_source_name
methods
dd31842 - Abort on any command failure for
set_*_settings
dd31842 - Reorder task cancellation on disconnect to avoid stale tasks af75081
- Refactor
set_tone_settings
method 5edfb6b - Add
SOURCE_TUNER
constant for detecting tuner source 797a2bf - Return immutable dict in get_source_dict b66c732
- Use
copy.deepcopy
to return dict copy instead of merge a6b17ee - Use
StrEnum
for enums 9a785fb - Update
test_api.py
for recent aiopioneer changes 6f77c26 - Disable power on volume bounce and video queries for VSX-930 by default 80431d9 85d0161
- Simplify zone checking for
set_video_settings
andset_dsp_settings
80c73c7 - Misc comment updates 80c73c7
- Fix zone argument type for
_update_zone
andset_volume_level
0f75e4b - Ensure
send_command
optional arguments not specified positionally 7f64441 - Clarified method docstrings 7f64441
- Add function prototype for init and use
DEFAULT_TIMEOUT
andDEFAULT_SCAN_INTERVAL
db32e5e - get_param returns None for non-existent parameters edfdbd9
⚠️ Breaking Changes
- Python requirement bumped to 3.11 for StrEnum d986f2f
Zones
enum now used on all methods accepting zone arguments (except in params) f6131b4 dd31842- Zone argument removed from tuner methods as tuner is independent of zone dcf5a15
TunerBand
enum now used to specify a tuner band dcf5a15update
now waits for the update to finish by default 156c4b7 ddc39a9set_tuner_preset
renamed toselect_tuner_preset
012e571- Response codes marked
---
now return None 81d5869 - Dimmer mode, tone mode and dB strings have been updated 5edfb6b bdc590a
- Reordered
send_command
suffix argument 7f64441 - Rename
get_zone_listening_modes
->get_listening_modes
80c73c7 - Remove zone from
tuner_*
,get_listening_modes
,set_panel_lock
,set_remote_lock
andset_dimmer
methods c45055b - Rename
set_listening_mode
->select_listening_mode
4c7626b