diff --git a/CHANGELOG.md b/CHANGELOG.md index 39d368da..2cef8ceb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # CHANGELOG +## v4.13.5 (2024-10-19) +### Fix + +* fix: bump alexapy to 1.29.3 + +Fix login loop issue (1825583)([`1825583`](https://gitlab.com/keatontaylor/alexapy/-/commit/18255832673fd7e7639c114766e7aa4e74ffe42f)) ## v4.7.7 (2023-10-08) @@ -82,16 +88,16 @@ closes #1953 ([`b83bfff`](https://github.com/custom-components/alexa_media_playe * fix: Restore NOTIFICATION_CHANGE command (#2044) -* Restore NOTIFICATION_CHANGE - -Partial revert of 8f0dfa2 to restore NOTIFICATION_CHANGE functionality for timers and alarms. - -* style: auto fixes from pre-commit.com hooks - -for more information, see https://pre-commit.ci - ---------- - +* Restore NOTIFICATION_CHANGE + +Partial revert of 8f0dfa2 to restore NOTIFICATION_CHANGE functionality for timers and alarms. + +* style: auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +--------- + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> ([`a4f8499`](https://github.com/custom-components/alexa_media_player/commit/a4f849918bd285b90f67065e94bfad60fe018c58)) ### Unknown @@ -154,8 +160,8 @@ fix: add http2 push to replace websocket ([`cfc723d`](https://github.com/custom- * fix: create each subfolder for `www/alexa_tts` (#2034) -Create the root www folder before trying to create alexa_tts. - +Create the root www folder before trying to create alexa_tts. + fixes #2032 ([`20cbfcd`](https://github.com/custom-components/alexa_media_player/commit/20cbfcde6d769ecc99dea16b3831883376bee5a3)) ### Unknown @@ -190,36 +196,36 @@ closes #2022 ([`c31dacd`](https://github.com/custom-components/alexa_media_playe * build: pre-commit autoupdate (#1978) -* build: pre-commit autoupdate - -updates: -- [github.com/commitizen-tools/commitizen: 3.5.2 → 3.8.2](https://github.com/commitizen-tools/commitizen/compare/3.5.2...3.8.2) -- [github.com/psf/black: 23.3.0 → 23.9.1](https://github.com/psf/black/compare/23.3.0...23.9.1) -- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.9-for-vscode...v3.0.3) -- [github.com/asottile/pyupgrade: v3.4.0 → v3.10.1](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.10.1) - -* style: auto fixes from pre-commit.com hooks - -for more information, see https://pre-commit.ci - ---------- - +* build: pre-commit autoupdate + +updates: +- [github.com/commitizen-tools/commitizen: 3.5.2 → 3.8.2](https://github.com/commitizen-tools/commitizen/compare/3.5.2...3.8.2) +- [github.com/psf/black: 23.3.0 → 23.9.1](https://github.com/psf/black/compare/23.3.0...23.9.1) +- [github.com/pre-commit/mirrors-prettier: v3.0.0-alpha.9-for-vscode → v3.0.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.0-alpha.9-for-vscode...v3.0.3) +- [github.com/asottile/pyupgrade: v3.4.0 → v3.10.1](https://github.com/asottile/pyupgrade/compare/v3.4.0...v3.10.1) + +* style: auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +--------- + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> ([`fe67b76`](https://github.com/custom-components/alexa_media_player/commit/fe67b76f04b1ddbdbd76b33499bb72e0ef936727)) * build(deps-dev): bump gitpython from 3.1.31 to 3.1.34 (#2016) -Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.31 to 3.1.34. -- [Release notes](https://github.com/gitpython-developers/GitPython/releases) -- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) -- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.31...3.1.34) - ---- -updated-dependencies: -- dependency-name: gitpython - dependency-type: indirect -... - -Signed-off-by: dependabot[bot] <support@github.com> +Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.31 to 3.1.34. +- [Release notes](https://github.com/gitpython-developers/GitPython/releases) +- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) +- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.31...3.1.34) + +--- +updated-dependencies: +- dependency-name: gitpython + dependency-type: indirect +... + +Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> ([`4c97df8`](https://github.com/custom-components/alexa_media_player/commit/4c97df8fae007b6296cb3de6310521b73b6705ff)) ### Chore @@ -234,28 +240,28 @@ Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.githu * feat: Add support to tts.cloud_say (#2014) -* Add support to tts.cloud_say - -* style: auto fixes from pre-commit.com hooks - -for more information, see https://pre-commit.ci - -* Fixed pre-commit validations - -* style: auto fixes from pre-commit.com hooks - -for more information, see https://pre-commit.ci - -* Fixed pre-commit validations - -* style: auto fixes from pre-commit.com hooks - -for more information, see https://pre-commit.ci - -* Comment as first method statement - ---------- - +* Add support to tts.cloud_say + +* style: auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +* Fixed pre-commit validations + +* style: auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +* Fixed pre-commit validations + +* style: auto fixes from pre-commit.com hooks + +for more information, see https://pre-commit.ci + +* Comment as first method statement + +--------- + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> ([`a31e05f`](https://github.com/custom-components/alexa_media_player/commit/a31e05f3bc867da3e55ade9eeb3aed3e18576961)) @@ -333,8 +339,8 @@ Reenable autocloser. ([`115811e`](https://github.com/custom-components/alexa_med * fix: update notifications on PUSH_ACTIVITY (#1974) -Amazon appears to have deprecated the prior NOTIFICATION_UPDATE event. - +Amazon appears to have deprecated the prior NOTIFICATION_UPDATE event. + closes #1971 ([`8f0dfa2`](https://github.com/custom-components/alexa_media_player/commit/8f0dfa2f6585ebac08bd5a708951155c80f63588)) ### Style @@ -851,11 +857,11 @@ fix: fix misconfigured HA url overriding url input ([`9daa957`](https://github.c * fix(notify): handle null data key (#1767) -* FIX New default tts missing - -* FIX if condition data - -Co-authored-by: Carsten Docktor <carsten.docktor@fgh-zertifizierung.de> +* FIX New default tts missing + +* FIX if condition data + +Co-authored-by: Carsten Docktor <carsten.docktor@fgh-zertifizierung.de> closes #1764 ([`08c2109`](https://github.com/custom-components/alexa_media_player/commit/08c2109ee24d673a7b29d1f1244569f5dee40004)) ### Unknown @@ -871,12 +877,12 @@ fix(notify): handle null data key (#1767) ([`06091a8`](https://github.com/custom * feat: Add ZigBee contact sensors support (#1754) -* Add ZigBee contact sensors support - -* Respect unavailable state of binary_sensor - -* Add safe get of applianceTypes - +* Add ZigBee contact sensors support + +* Respect unavailable state of binary_sensor + +* Add safe get of applianceTypes + Co-authored-by: Cosimo Meli <cosimo.meli@chili.com> ([`cd162cb`](https://github.com/custom-components/alexa_media_player/commit/cd162cbb8ebbea5af19c0d370621c4f8e169cf5a)) ### Unknown @@ -904,12 +910,12 @@ feat: Add ZigBee contact sensors support (#1754) ([`15f9290`](https://github.com * feat(notify): set default data `type` to `tts` (#1739) -* CHANGE Set `data` value to empty dict instead of None if missing - -* CHANGE Set `type: tts` as default type for notify service - -* UPDATE Specify error message if data type could not be recognized - +* CHANGE Set `data` value to empty dict instead of None if missing + +* CHANGE Set `type: tts` as default type for notify service + +* UPDATE Specify error message if data type could not be recognized + Co-authored-by: Carsten Docktor <carsten.docktor@fgh-zertifizierung.de> ([`7027e4a`](https://github.com/custom-components/alexa_media_player/commit/7027e4a992259029a7745bc2d8b32ea08076d7da)) ### Fix @@ -1283,16 +1289,16 @@ fix: bump dependencies ([`4226658`](https://github.com/custom-components/alexa_m * fix: reset cookies on proxy start (#1568) -Resets all cookies when loading the proxy. However, this removes the ability to start a login using the legacy method (including relogin attempts) and then resuming them with the proxy. - -closes #1512 - +Resets all cookies when loading the proxy. However, this removes the ability to start a login using the legacy method (including relogin attempts) and then resuming them with the proxy. + +closes #1512 + Co-authored-by: quthla <quthla@users.noreply.github.com> ([`7aef24b`](https://github.com/custom-components/alexa_media_player/commit/7aef24b4d5be75fa302d9e1e12aff2b85ce057e5)) * fix: reset cookies on proxy start -Resets all cookies when loading the proxy. However, this removes the ability to start a login using the legacy method (including relogin attempts) and then resuming them with the proxy. - +Resets all cookies when loading the proxy. However, this removes the ability to start a login using the legacy method (including relogin attempts) and then resuming them with the proxy. + closes #1512 ([`f064532`](https://github.com/custom-components/alexa_media_player/commit/f06453289189adb484a9b9a003489620b05abead)) @@ -1316,17 +1322,17 @@ closes #1529 ([`2b14c3b`](https://github.com/custom-components/alexa_media_playe * 2022-04-04 (#1558) -* build: add dev container (#1551) - -* fix: use ConfigEntryNotReady during startup (#1557) - -closes #1529 - -* fix: use EntityCategory enum instead of strings (#1554) - -closes #1553 - -Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com> +* build: add dev container (#1551) + +* fix: use ConfigEntryNotReady during startup (#1557) + +closes #1529 + +* fix: use EntityCategory enum instead of strings (#1554) + +closes #1553 + +Co-authored-by: Simone Chemelli <simone.chemelli@gmail.com> Co-authored-by: Mike Degatano <michael.degatano@gmail.com> ([`e0c9aba`](https://github.com/custom-components/alexa_media_player/commit/e0c9aba63d0e5d44e18febd64b06c4fb4a0cefcf)) @@ -1350,13 +1356,13 @@ Co-authored-by: Robert Ansel <ransel@slack-corp.com> ([`3f42a45`](https:// * 2022-03-15 (#1540) -* ci: switch to hassfest - -* feat: add entity_category to the AlexaMediaSwitches (#1537) - -Co-authored-by: Robert Ansel <ransel@slack-corp.com> - -Co-authored-by: mr-ransel <robert.ansel@gmail.com> +* ci: switch to hassfest + +* feat: add entity_category to the AlexaMediaSwitches (#1537) + +Co-authored-by: Robert Ansel <ransel@slack-corp.com> + +Co-authored-by: mr-ransel <robert.ansel@gmail.com> Co-authored-by: Robert Ansel <ransel@slack-corp.com> ([`ac548a4`](https://github.com/custom-components/alexa_media_player/commit/ac548a43f7758c34d72decc75eb5eaffc42b2e7b)) @@ -1502,22 +1508,22 @@ closes #1409 ([`f41c8fe`](https://github.com/custom-components/alexa_media_playe * 2021-10-12 (#1383) -* ci: remove non-recommended it checkout - -* build(deps): allow newer versions of packaging - -* Home Assistant 2021.8.x uses packaging~=21.0 now. - -* fix: fix issue where next_alarm would cancel on reload (#1379) - -Where multiple instances of the component are in use, the "dev_id" is made up -from a combination of the serial number & account email address. - -This was being used when trying to load out the notifications from the -async_update call. The key that should have been used is only the serial -number of the device. This commit changes to using the serial. - -Co-authored-by: Chris Edester <edestecd@miamioh.edu> +* ci: remove non-recommended it checkout + +* build(deps): allow newer versions of packaging + +* Home Assistant 2021.8.x uses packaging~=21.0 now. + +* fix: fix issue where next_alarm would cancel on reload (#1379) + +Where multiple instances of the component are in use, the "dev_id" is made up +from a combination of the serial number & account email address. + +This was being used when trying to load out the notifications from the +async_update call. The key that should have been used is only the serial +number of the device. This commit changes to using the serial. + +Co-authored-by: Chris Edester <edestecd@miamioh.edu> Co-authored-by: David Hutchison <dhutchison86+wp@gmail.com> ([`05001b3`](https://github.com/custom-components/alexa_media_player/commit/05001b380aa01f856e83680634454885f56b7418)) @@ -1545,11 +1551,11 @@ Update to new MDI entry for do not disturb switch per Home Assistant update 2021 * fix: fix issue where next_alarm would cancel on reload (#1379) -Where multiple instances of the component are in use, the "dev_id" is made up -from a combination of the serial number & account email address. - -This was being used when trying to load out the notifications from the -async_update call. The key that should have been used is only the serial +Where multiple instances of the component are in use, the "dev_id" is made up +from a combination of the serial number & account email address. + +This was being used when trying to load out the notifications from the +async_update call. The key that should have been used is only the serial number of the device. This commit changes to using the serial. ([`a5dd83a`](https://github.com/custom-components/alexa_media_player/commit/a5dd83a3ab1a7bec565e470e11d28d3d5076b695)) @@ -1567,8 +1573,8 @@ number of the device. This commit changes to using the serial. ([`a5dd83a`](http * fix: fix color mapping during color conversion (#1345) -Use a hard-coded list of Alexa colors and force brightness to 100 during color conversion - +Use a hard-coded list of Alexa colors and force brightness to 100 during color conversion + closes #1341 ([`c296aef`](https://github.com/custom-components/alexa_media_player/commit/c296aefed824f0ba8acde166a4a43bf29c6f9cd8)) * fix: parse timezone from timestamp @@ -1579,16 +1585,16 @@ closes #1350 ([`c7dc5f2`](https://github.com/custom-components/alexa_media_playe * 2021-08-02 (#1352) -* fix: parse timezone from timestamp -This relies on pulling the timestamp from the string instead of defaulting to UTC -closes #1350 - -* fix: fix color mapping during color conversion (#1345) - -Use a hard-coded list of Alexa colors and force brightness to 100 during color conversion - -closes #1341 - +* fix: parse timezone from timestamp +This relies on pulling the timestamp from the string instead of defaulting to UTC +closes #1350 + +* fix: fix color mapping during color conversion (#1345) + +Use a hard-coded list of Alexa colors and force brightness to 100 during color conversion + +closes #1341 + Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`77395b9`](https://github.com/custom-components/alexa_media_player/commit/77395b93ae5ec302f03a6f6a8444d0b59c0460c8)) * Merge pull request #1351 from alandtse/#1350 @@ -1606,8 +1612,8 @@ ci: fix help wanted tag ([`684205a`](https://github.com/custom-components/alexa_ * fix: fix comparison between offset-naive and offset-aware datetimes (#1338) (#1339) -closes #1334 - +closes #1334 + Co-authored-by: Chris <chris@spoon.nz> ([`bcc996a`](https://github.com/custom-components/alexa_media_player/commit/bcc996a6088a0c2826d828cdb114f36abcf69ee9)) * fix: fix comparison between offset-naive and offset-aware datetimes (#1338) @@ -1674,21 +1680,21 @@ fix: avoid pruning devices in secondary accounts ([`78698b9`](https://github.com * fix: handle case where alexa guard is disabled (#1297) -This also changes the entity parsing code to be extremely defensive so that this function won't break startup no matter what Amazon returns. +This also changes the entity parsing code to be extremely defensive so that this function won't break startup no matter what Amazon returns. Fixes #1296 ([`6295e93`](https://github.com/custom-components/alexa_media_player/commit/6295e93a0761da1365f761a56e2d29d125998f9a)) ### Unknown * 2021-05-15 (#1298) -* docs: update localization - -* fix: handle case where alexa guard is disabled (#1297) - -This also changes the entity parsing code to be extremely defensive so that this function won't break startup no matter what Amazon returns. -Fixes #1296 - -Co-authored-by: semantic-release <semantic-release@GitHub> +* docs: update localization + +* fix: handle case where alexa guard is disabled (#1297) + +This also changes the entity parsing code to be extremely defensive so that this function won't break startup no matter what Amazon returns. +Fixes #1296 + +Co-authored-by: semantic-release <semantic-release@GitHub> Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`daa308c`](https://github.com/custom-components/alexa_media_player/commit/daa308cda2e372794a974585f31d4929d667772c)) @@ -1698,14 +1704,14 @@ Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`daa308c`](https://gi * fix: update entity state after network discovery (#1291) (#1295) -Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well. -Fixes #1289 - +Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well. +Fixes #1289 + Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`b2302ec`](https://github.com/custom-components/alexa_media_player/commit/b2302ec16da19657bc1dfd7c6cd0b4343c7404db)) * fix: update entity state after network discovery (#1291) -Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well. +Previously, each platform forced a refresh on the coordinator. This was slow and error prone. Now, when the network is discovered full entity state is discovered as well. Fixes #1289 ([`9804dd3`](https://github.com/custom-components/alexa_media_player/commit/9804dd35188befb7e1053369f7a6fa6befa1e860)) @@ -1759,10 +1765,10 @@ closes #1281 ([`f75f8b9`](https://github.com/custom-components/alexa_media_playe * 2021-05-07 (#1278) -* ci: auto add translations - -* fix: improve checking for skill backed appliances #1277 - +* ci: auto add translations + +* fix: improve checking for skill backed appliances #1277 + Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`6ad8680`](https://github.com/custom-components/alexa_media_player/commit/6ad8680c2f319d50680b216ae35eeedf3f3badc4)) * Merge pull request #1274 from alandtse/translation_ci @@ -1831,23 +1837,23 @@ fix: add iot_class to manifest.json ([`c84633c`](https://github.com/custom-compo * feat: add lights and the temperature sensors (#1244) -Closes #1237 and #1202. Since this is based on polling it is disabled by default and is enabled in options. Please check the instructions on the wiki. +Closes #1237 and #1202. Since this is based on polling it is disabled by default and is enabled in options. Please check the instructions on the wiki. https://github.com/custom-components/alexa_media_player/wiki#discover-and-control-devices-connected-to-an-echo ([`26b4b51`](https://github.com/custom-components/alexa_media_player/commit/26b4b51b26899636b2b3ae8ac2f58b1fc2e6b433)) ### Fix * fix: detect and ignore lights created by emulated_hue (#1253) -* Detect and ignore lights created by emulated_hue plus some general cleanup. - +* Detect and ignore lights created by emulated_hue plus some general cleanup. + * Adjust naming and comments to be more accurate. ([`4cef90e`](https://github.com/custom-components/alexa_media_player/commit/4cef90ef73c1adcdf8e870654abc25cb2e0326e0)) * fix: auto reload when extended entity discovery is enabled (#1254) -* Automatically reload the integration when extended entity discovery is enabled. - -* fix: reload only after all values processed - +* Automatically reload the integration when extended entity discovery is enabled. + +* fix: reload only after all values processed + Co-authored-by: Alan Tse <alandtse@users.noreply.github.com> ([`8a8f8ee`](https://github.com/custom-components/alexa_media_player/commit/8a8f8ee0e54fd4d09e3f7fc4ab2e114bbee9e2f0)) * fix: TypeError: _typeddict_new() missing typename ([`b89852d`](https://github.com/custom-components/alexa_media_player/commit/b89852d2e50bb9c04dc5d7a70721c7073f647b3b)) @@ -1863,32 +1869,32 @@ closes #1249 ([`211015f`](https://github.com/custom-components/alexa_media_playe * 2021-04-23 (#1261) -* feat: add lights and the temperature sensors (#1244) - -Closes #1237 and #1202. Since this is based on polling it is disabled by default and is enabled in options. Please check the instructions on the wiki. -https://github.com/custom-components/alexa_media_player/wiki#discover-and-control-devices-connected-to-an-echo - -* fix: check for existence of properties key -closes #1249 - -* fix: TypeError: _typeddict_new() missing typename - -* style: fix lint errors - -* fix: auto reload when extended entity discovery is enabled (#1254) - -* Automatically reload the integration when extended entity discovery is enabled. - -* fix: reload only after all values processed - -Co-authored-by: Alan Tse <alandtse@users.noreply.github.com> - -* fix: detect and ignore lights created by emulated_hue (#1253) - -* Detect and ignore lights created by emulated_hue plus some general cleanup. - -* Adjust naming and comments to be more accurate. - +* feat: add lights and the temperature sensors (#1244) + +Closes #1237 and #1202. Since this is based on polling it is disabled by default and is enabled in options. Please check the instructions on the wiki. +https://github.com/custom-components/alexa_media_player/wiki#discover-and-control-devices-connected-to-an-echo + +* fix: check for existence of properties key +closes #1249 + +* fix: TypeError: _typeddict_new() missing typename + +* style: fix lint errors + +* fix: auto reload when extended entity discovery is enabled (#1254) + +* Automatically reload the integration when extended entity discovery is enabled. + +* fix: reload only after all values processed + +Co-authored-by: Alan Tse <alandtse@users.noreply.github.com> + +* fix: detect and ignore lights created by emulated_hue (#1253) + +* Detect and ignore lights created by emulated_hue plus some general cleanup. + +* Adjust naming and comments to be more accurate. + Co-authored-by: Brady Mulhollem <blm126@gmail.com> ([`faa4fde`](https://github.com/custom-components/alexa_media_player/commit/faa4fdebfc32286db0ff5d47a94bd72b016fc025)) * Merge pull request #1252 from alandtse/#1249 @@ -2069,7 +2075,7 @@ closes #1182 ([`2815bc6`](https://github.com/custom-components/alexa_media_playe * fix: wrap calls to alexapi in async_create_task -This allows all function calls to return despite the queue_delay in alexaapi. This will allow successive calls in the same HA script to trigger the queue building functionality. +This allows all function calls to return despite the queue_delay in alexaapi. This will allow successive calls in the same HA script to trigger the queue building functionality. closes #1118 ([`0445b72`](https://github.com/custom-components/alexa_media_player/commit/0445b7227b2994b9e6dcf2bbc1b95fc203e569c2)) ### Style @@ -2730,7 +2736,7 @@ closes #1005 ([`77e9d6c`](https://github.com/custom-components/alexa_media_playe * Merge pull request #1063 from custom-components/dev -The oauth refresh will only impact new logins. Please force logout with alexa_media.force_logout or delete your cookie file and restart. +The oauth refresh will only impact new logins. Please force logout with alexa_media.force_logout or delete your cookie file and restart. closes #1005 ([`b727c71`](https://github.com/custom-components/alexa_media_player/commit/b727c711530926e7395d824ca7b9afc3c1a4c049)) * Merge pull request #1062 from custom-components/lokalise-2020-12-31_03-44-05 @@ -2858,7 +2864,7 @@ Signed-off-by: Alan Tse <alandtse@gmail.com> ([`60dc886`](https://github.c * ci: update release variable -https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ +https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ Signed-off-by: Alan Tse <alandtse@gmail.com> ([`f2258aa`](https://github.com/custom-components/alexa_media_player/commit/f2258aa06254c7849340f707f2e1fee621b686f7)) ### Documentation @@ -4439,7 +4445,7 @@ Sync dev with master ([`965b4f0`](https://github.com/custom-components/alexa_med * ci: disable upload_to_release -This currently requires a setup.py to create the /dist content which breaks for alexa_media. +This currently requires a setup.py to create the /dist content which breaks for alexa_media. Signed-off-by: Alan Tse <alandtse@gmail.com> ([`5b07987`](https://github.com/custom-components/alexa_media_player/commit/5b079875e62ee4ec7efefc178d9698f4a3d5b04c)) ### Documentation @@ -5197,7 +5203,7 @@ Signed-off-by: Alan Tse <alandtse@gmail.com> ([`ae1308e`](https://github.c * ci: install specific version of semantic-release -https://github.com/relekang/python-semantic-release/issues/109 +https://github.com/relekang/python-semantic-release/issues/109 Signed-off-by: Alan Tse <alandtse@gmail.com> ([`4b1c568`](https://github.com/custom-components/alexa_media_player/commit/4b1c568219cc40892b84baf028df2679c61eb5c1)) * ci: checkout master instead of ref @@ -5297,10 +5303,10 @@ fix: fix config_flow connection handling ([`40f7ec9`](https://github.com/custom- * chore: add Polish (#379) -* Create pl.json - -Add polish translation - +* Create pl.json + +Add polish translation + * Fix typo ([`990e379`](https://github.com/custom-components/alexa_media_player/commit/990e379f37d3ac93676be89793a14efb3d7f371a)) * chore: Add Italian @@ -5370,8 +5376,8 @@ fix: add retry logic to setup_entry ([`b08900f`](https://github.com/custom-compo * Some text too long - Updated (#383) -* Create nl.json - +* Create nl.json + * Some text too long - updated ([`530bf43`](https://github.com/custom-components/alexa_media_player/commit/530bf43aa4b198f0d4d03a7629ec75914c156453)) * Merge pull request #382 from custom-components/semantic-release @@ -5711,8 +5717,8 @@ Signed-off-by: Alan Tse <alandtse@gmail.com> ([`2ddd0c2`](https://github.c * Merge pull request #296 from keatontaylor/dev -Bump to 2.0.0 - +Bump to 2.0.0 + BREAKING CHANGE ([`474c30d`](https://github.com/custom-components/alexa_media_player/commit/474c30d132582862f497eadacd0f436237e99230)) * Merge pull request #294 from alandtse/async @@ -5764,8 +5770,8 @@ chore: sync dev to master ([`2a3c131`](https://github.com/custom-components/alex * fix(media_player): alternative serial numbers not recognized for mobile app media player (#253) -* Fix last_called websocket handler to recognize appDeviceList serial numbers - +* Fix last_called websocket handler to recognize appDeviceList serial numbers + * Fix last_called poll to recognize appDeviceList serial numbers ([`c560742`](https://github.com/custom-components/alexa_media_player/commit/c560742d0b9fc94b236a4c129b1b9b9b12af2a8f)) * fix(media_player): remove unused MEDIA_PLAYER_SCHEMA (#261) ([`5846371`](https://github.com/custom-components/alexa_media_player/commit/5846371b80e6b71225e5064c09fbc9913b98f41e)) @@ -5796,18 +5802,18 @@ Update to 1.4.0 ([`5c161e6`](https://github.com/custom-components/alexa_media_pl * Sync dev with master (#252) -* Update issue templates - -* Update location of version info - +* Update issue templates + +* Update location of version info + Signed-off-by: Alan Tse <alandtse@gmail.com> ([`d1ed479`](https://github.com/custom-components/alexa_media_player/commit/d1ed479bcee849d4a9deabbf31397c7ec43feaa5)) * Sync dev with master (#246) -* Update issue templates - -* Update location of version info - +* Update issue templates + +* Update location of version info + Signed-off-by: Alan Tse <alandtse@gmail.com> ([`f0531e3`](https://github.com/custom-components/alexa_media_player/commit/f0531e35a289d22f75d75ccd22bbe624b84a0aae)) @@ -6010,54 +6016,54 @@ Update master to 1.2.4 ([`a462ed7`](https://github.com/custom-components/alexa_m * Update dev to 1.2.4 (#146) -* Adding bluetooth device updates from websockets. - -* Add websocket checks to only trigger events for non-excluded serials - -* Fix bug where new pairings were not updating source list - -* Add dev info for customer_updater - -* Bump alexapy dependency version and version - +* Adding bluetooth device updates from websockets. + +* Add websocket checks to only trigger events for non-excluded serials + +* Fix bug where new pairings were not updating source list + +* Add dev info for customer_updater + +* Bump alexapy dependency version and version + * Bump custom_updater version ([`af1b4c5`](https://github.com/custom-components/alexa_media_player/commit/af1b4c5beae943e464b7d600840b97fd56aed670)) * Allow autoloading of notify component (#140) -* Conform logging to avoid info per HA requirements - +* Conform logging to avoid info per HA requirements + * Add autoloading of notify component ([`8eb0db6`](https://github.com/custom-components/alexa_media_player/commit/8eb0db6403b41bc70be3692fac2cb1272eba3f0c)) * Bluetooth Websocket (#138) -* Adding bluetooth device updates from websockets. - -* Add websocket checks to only trigger events for non-excluded serials (#139) - -* Add websocket checks to only trigger events for non-excluded serials - +* Adding bluetooth device updates from websockets. + +* Add websocket checks to only trigger events for non-excluded serials (#139) + +* Add websocket checks to only trigger events for non-excluded serials + * Fix bug where new pairings were not updating source list ([`72bb8d6`](https://github.com/custom-components/alexa_media_player/commit/72bb8d6039d26ea2bcbcf09cf18379bf8d16df6e)) * Merge alandtse/dev (#136) -* Correct typo and comment for DOPPLER - -* Simplify dopplerConnectionState test - -* Disable manual updates if websocket enabled - -* Fix bug where disconnect would clear known devices - -* Fix incorrect use of DOMAIN instead of DATA_ALEXAMEDIA - -* Add code to disable update_devices polling when websockets enabled - -* Update comments to reflect changes - -* Update websocket to add new devices - -* Add forced update_devices after detection of new device - +* Correct typo and comment for DOPPLER + +* Simplify dopplerConnectionState test + +* Disable manual updates if websocket enabled + +* Fix bug where disconnect would clear known devices + +* Fix incorrect use of DOMAIN instead of DATA_ALEXAMEDIA + +* Add code to disable update_devices polling when websockets enabled + +* Update comments to reflect changes + +* Update websocket to add new devices + +* Add forced update_devices after detection of new device + * Fix bug where multiple reconnects would spawn multiple update_devices ([`0141758`](https://github.com/custom-components/alexa_media_player/commit/0141758815168fc40f3969c1fc4b46653eaa80cf)) * Add support for updating the players online state from websocket messages (#134) ([`3612166`](https://github.com/custom-components/alexa_media_player/commit/36121664b4023448aba176cd68215a02edc1e04c)) @@ -6073,10 +6079,10 @@ Update master to 1.2.4 ([`a462ed7`](https://github.com/custom-components/alexa_m * Update to 1.2.3 (#130) -* Add code to handle websocket error and close callbacks - -* Fix bug where polling would not resume after websocket failure - +* Add code to handle websocket error and close callbacks + +* Fix bug where polling would not resume after websocket failure + * Bump custom_updater version ([`a4d001b`](https://github.com/custom-components/alexa_media_player/commit/a4d001b724be1b54d96a464979fd1e0ba25d74c3)) @@ -6132,20 +6138,20 @@ Update to 1.2.0 (#110) ([`4667f91`](https://github.com/custom-components/alexa_m * Update to 1.2.0 (#110) -* Add initial notify service with working tts - -* Add announcement notify feature - -* Change logging level for messages - -* Add mobilepush functionality - -* Bump version - -* Add group support to notify - -* Fix pylint errors - +* Add initial notify service with working tts + +* Add announcement notify feature + +* Change logging level for messages + +* Add mobilepush functionality + +* Bump version + +* Add group support to notify + +* Fix pylint errors + * Bump custom_component version ([`68c151c`](https://github.com/custom-components/alexa_media_player/commit/68c151ca3b4e0a2991934ce4fbb475cbd46cb897)) @@ -6155,16 +6161,16 @@ Update to 1.2.0 (#110) ([`4667f91`](https://github.com/custom-components/alexa_m * Update to 1.1.0 (#105) -* Truncate event data to 32 chars (#89) - -* Fix display of media position while playing (#92) - -* Add custom_updater support (#95) - -* Fix multiaccount bugs (#100) - -* Fix bug where configurator would fail if no options for verification method (#103) - +* Truncate event data to 32 chars (#89) + +* Fix display of media position while playing (#92) + +* Add custom_updater support (#95) + +* Fix multiaccount bugs (#100) + +* Fix bug where configurator would fail if no options for verification method (#103) + * Update to alexapy 0.2.1 (#96) ([`8b5af65`](https://github.com/custom-components/alexa_media_player/commit/8b5af65a9ac0fc25caf08bc9579ee12cf26acb84)) * Update to breaking feature branch 1.0.0 (#73) ([`cc09f1a`](https://github.com/custom-components/alexa_media_player/commit/cc09f1a6bba0747da1445765cf8df13e346c8707)) @@ -6182,21 +6188,21 @@ Resolves #68 ([`3987b4d`](https://github.com/custom-components/alexa_media_playe * Fix typo in last_activity call -This resolves #68. +This resolves #68. Signed-off-by: Alan Tse <alandtse@gmail.com> ([`63237be`](https://github.com/custom-components/alexa_media_player/commit/63237be3632f9ed655b8ca9accfeb14d3e020001)) * Bump version (#67) ([`b5c0ef3`](https://github.com/custom-components/alexa_media_player/commit/b5c0ef34c44c20e5ad37103ae4d17e2db572f6d0)) * adding last_called attribute (#65) -This will add the ability to query whether the specific Alexa device was the last one to respond to a spoken request - -* 'git reset --hard upstream/master'; reapplied changes - -* fix: ignore discarded activity records - -* removed orphaned code + optimizations per @alandtse's request - +This will add the ability to query whether the specific Alexa device was the last one to respond to a spoken request + +* 'git reset --hard upstream/master'; reapplied changes + +* fix: ignore discarded activity records + +* removed orphaned code + optimizations per @alandtse's request + * refactored get_last_device_serial() ([`fa8cfb7`](https://github.com/custom-components/alexa_media_player/commit/fa8cfb78714d4cf76d2b9d934b7d33afeedf4714)) * Use logged in customerId instead of deviceOwnerCustomerId for tts and play_music (#59) ([`b59aeba`](https://github.com/custom-components/alexa_media_player/commit/b59aeba0614ffbd803cb50b62ed4acd7394a6e59)) @@ -6213,58 +6219,58 @@ Bump version ([`71d8357`](https://github.com/custom-components/alexa_media_playe * Fix get_bluetooth to use .json exception catching in AlexaAPI (#40) -* Fix get_bluetooth to use .json exception catching in AlexaAPI - +* Fix get_bluetooth to use .json exception catching in AlexaAPI + * Fix get_state to catch .json error in AlexaAPI ([`94f5c8d`](https://github.com/custom-components/alexa_media_player/commit/94f5c8d0c7ea6cb0108fcf6bfb6fd1abeb294233)) * Fix #35 (#36) ([`7e10200`](https://github.com/custom-components/alexa_media_player/commit/7e10200739581f27adf9cff13c3f5cdb7b259ee6)) * Handle Amazon verification pages (#34) -* Replacing lxml parser with html for hassio; adding require for simplejson - -* Adding 2FA - -* Adding existence checks for nested dictionaries to resolve #21 - -* Adding output files - -* Updating debug files - -* Change initial login to Alexa specific site - -* Switch login url to alexa site - -* Updating to 0.9.1 and adding proper referer - -* Add checking for nested dictionaries for media state - -* Add onlineonly filter option - -* Add additional debugging; remove unicode string references - -* Forcing unicode encoding - -* Add check for verification code - -* Add processing of verificationcode - -* Handle verify action - -* Fix verify url - -* Add processing of verification code - +* Replacing lxml parser with html for hassio; adding require for simplejson + +* Adding 2FA + +* Adding existence checks for nested dictionaries to resolve #21 + +* Adding output files + +* Updating debug files + +* Change initial login to Alexa specific site + +* Switch login url to alexa site + +* Updating to 0.9.1 and adding proper referer + +* Add checking for nested dictionaries for media state + +* Add onlineonly filter option + +* Add additional debugging; remove unicode string references + +* Forcing unicode encoding + +* Add check for verification code + +* Add processing of verificationcode + +* Handle verify action + +* Fix verify url + +* Add processing of verification code + * Add debug option; fix modal orphans ([`59ebab0`](https://github.com/custom-components/alexa_media_player/commit/59ebab08654d8c7eaa15075fa62d692f2030a465)) * Add checking for nested dictionaries for media state (#29) -* Replacing lxml parser with html for hassio; adding require for simplejson - -* Adding 2FA - -* Switch login url to alexa site - +* Replacing lxml parser with html for hassio; adding require for simplejson + +* Adding 2FA + +* Switch login url to alexa site + * Add checking for nested dictionaries for media state ([`6fe32c8`](https://github.com/custom-components/alexa_media_player/commit/6fe32c8a8f1c752afd3c35deef42941eb0f1b14c)) * Revert "Move API code to the alexapy pip package and add references to objects and datasets that are needed" @@ -6275,24 +6281,24 @@ This reverts commit 18dd6138c6075a9aee2cfb4600091d4ea90ed4c2. ([`0c3052e`](https * Switch login site to Alexa sign-in site (#24) -* Replacing lxml parser with html for hassio; adding require for simplejson - -* Adding 2FA - +* Replacing lxml parser with html for hassio; adding require for simplejson + +* Adding 2FA + * Switch login url to alexa site ([`d5b561b`](https://github.com/custom-components/alexa_media_player/commit/d5b561bcadba4cb7fe1154ea8a3df10b07c4ad4c)) * Adding existence checks for nested dictionaries. (#23) -* Replacing lxml parser with html for hassio; adding require for simplejson - -* Adding 2FA - +* Replacing lxml parser with html for hassio; adding require for simplejson + +* Adding 2FA + * Adding existence checks for nested dictionaries to resolve #21 ([`9a6d517`](https://github.com/custom-components/alexa_media_player/commit/9a6d5174e9b6e7e5e237b98f1d05781017c1e92d)) * Adding 2FA (#22) -* Replacing lxml parser with html for hassio; adding require for simplejson - +* Replacing lxml parser with html for hassio; adding require for simplejson + * Adding 2FA ([`912ffe3`](https://github.com/custom-components/alexa_media_player/commit/912ffe3dfedf43e142a89c846a0d2156467c191c)) * Replacing lxml parser with html for hassio; adding require for simplejson (#19) ([`8a28d62`](https://github.com/custom-components/alexa_media_player/commit/8a28d622f42f4db8a1b121cf6bf1adf8ddf61c15)) diff --git a/custom_components/alexa_media/manifest.json b/custom_components/alexa_media/manifest.json index 5da0f491..595372b3 100644 --- a/custom_components/alexa_media/manifest.json +++ b/custom_components/alexa_media/manifest.json @@ -8,6 +8,6 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/alandtse/alexa_media_player/issues", "loggers": ["alexapy", "authcaptureproxy"], - "requirements": ["alexapy==1.29.2", "packaging>=20.3", "wrapt>=1.14.0"], + "requirements": ["alexapy==1.29.3", "packaging>=20.3", "wrapt>=1.14.0"], "version": "4.13.4" } diff --git a/poetry.lock b/poetry.lock index 69c45798..d87c1401 100644 --- a/poetry.lock +++ b/poetry.lock @@ -135,13 +135,13 @@ frozenlist = ">=1.1.0" [[package]] name = "alexapy" -version = "1.29.2" +version = "1.29.3" description = "Python API to control Amazon Echo Devices Programmatically." optional = false python-versions = "<4,>=3.11" files = [ - {file = "alexapy-1.29.2-py3-none-any.whl", hash = "sha256:6dc1fb2979d1385aff1833681365f8c39cebbe3f9ceca2939c4695e65426c115"}, - {file = "alexapy-1.29.2.tar.gz", hash = "sha256:36dead8b8062d8bd3e8f11f37edd196882951269c68cd6990762b415acb99d95"}, + {file = "alexapy-1.29.3-py3-none-any.whl", hash = "sha256:14663bd0df41b7447b6de936e6ef0b0b4f44cd5958edc0b660fc93a1aae60bca"}, + {file = "alexapy-1.29.3.tar.gz", hash = "sha256:8d554ef9afe30750be0269b5b51b6702da83382e7978f45915270090b5f2bdce"}, ] [package.dependencies] @@ -3611,4 +3611,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = ">=3.11,<4.0" -content-hash = "9cc60ca99e8a849cfbb96ef8d471e68360a45ca8a9e6e6ca8e6c25a104eb75f3" +content-hash = "610de9c39bfb9fc6dd12887cb8fd9a0b22dc866440b3e169ab68fd4b93dd6826" diff --git a/pyproject.toml b/pyproject.toml index 8c678016..d75cbf90 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ packages = [ [tool.poetry.dependencies] python = ">=3.11,<4.0" -alexapy = "1.29.2" +alexapy = "1.29.3" aiohttp = ">=3.8.1" packaging = ">=20.3" wrapt = ">=1.12.1"