diff --git a/Doxygen b/Doxygen index aa8b95949..5d0c0d1b3 100644 --- a/Doxygen +++ b/Doxygen @@ -38,7 +38,7 @@ PROJECT_NAME = "ESPHome" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2022.6.0 +PROJECT_NUMBER = 2022.6.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/Makefile b/Makefile index 8a9cebdd3..33b79476e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ESPHOME_PATH = ../esphome -ESPHOME_REF = 2022.6.0 +ESPHOME_REF = 2022.6.1 .PHONY: html html-strict cleanhtml deploy help live-html Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png minify diff --git a/_static/version b/_static/version index 1245b2d31..ecdc924e4 100644 --- a/_static/version +++ b/_static/version @@ -1 +1 @@ -2022.6.0 \ No newline at end of file +2022.6.1 \ No newline at end of file diff --git a/changelog/2022.6.0.rst b/changelog/2022.6.0.rst index b16f89052..eb3fdb6a0 100644 --- a/changelog/2022.6.0.rst +++ b/changelog/2022.6.0.rst @@ -81,6 +81,13 @@ Basically, they decided to upgrade the ``!include`` yaml "directive" to allow va Now while this is probably not the best example, the variables act as ``substitutions`` and can be used anywhere in the underlying yaml file and can very much DRY out your configurations. +Release 2022.6.1 - June 18 +-------------------------- + +- Setup the mute pin if configured :esphomepr:`3568` by :ghuser:`jesserockz` +- Bugfix for ExternalRAMAllocator copy constructor :esphomepr:`3571` by :ghuser:`bnw` +- Media Player: added triggers :esphomepr:`3576` by :ghuser:`dudanov` + Breaking Changes ---------------- diff --git a/components/media_player/index.rst b/components/media_player/index.rst index fa7a241ad..c1be77895 100644 --- a/components/media_player/index.rst +++ b/components/media_player/index.rst @@ -118,6 +118,67 @@ Configuration variables: **volume** (**Required**, percentage): The volume to set the media player to. +.. _media_player-on_state_trigger: + +``media_player.on_state`` Trigger +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This trigger is activated each time the state of the media player is updated +(for example, if the player is stop playing audio or received some command). + +.. code-block:: yaml + + media_player: + - platform: i2s_audio # or any other platform + # ... + on_state: + - logger.log: "State updated!" + +.. _media_player-on_play_trigger: + +``media_player.on_play`` Trigger +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This trigger is activated each time then the media player is started playing. + +.. code-block:: yaml + + media_player: + - platform: i2s_audio # or any other platform + # ... + on_play: + - logger.log: "Playback started!" + +.. _media_player-on_pause_trigger: + +``media_player.on_pause`` Trigger +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This trigger is activated every time the media player pauses playback. + +.. code-block:: yaml + + media_player: + - platform: i2s_audio # or any other platform + # ... + on_pause: + - logger.log: "Playback paused!" + +.. _media_player-on_idle_trigger: + +``media_player.on_idle`` Trigger +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +This trigger is activated every time the media player finishes playing. + +.. code-block:: yaml + + media_player: + - platform: i2s_audio # or any other platform + # ... + on_idle: + - logger.log: "Playback finished!" + See Also -------- diff --git a/conf.py b/conf.py index fe8ab960a..09c41b90f 100644 --- a/conf.py +++ b/conf.py @@ -68,7 +68,7 @@ author = "ESPHome" # The short X.Y version. version = "2022.6" # The full version, including alpha/beta/rc tags. -release = "2022.6.0" +release = "2022.6.1" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/guides/supporters.rst b/guides/supporters.rst index 755cd94ae..687451b2c 100644 --- a/guides/supporters.rst +++ b/guides/supporters.rst @@ -108,6 +108,7 @@ Contributors - `Branimir Lambov (@blambov) `__ - `Jim Ekman (@blejdfist) `__ - `Bob (@Bmooij) `__ +- `Benjamin Klotz (@bnw) `__ - `Mauricio Bonani (@bonanitech) `__ - `Casey Olson (@bookcasey) `__ - `BoukeHaarsma23 (@BoukeHaarsma23) `__ @@ -351,7 +352,6 @@ Contributors - `imgbot[bot] (@imgbot[bot]) `__ - `ImSorryButWho (@ImSorryButWho) `__ - `Lorenzo Ortiz (@Infinitte) `__ -- `Samir El Benna (@ingbenna) `__ - `irtimaled (@irtimaled) `__ - `Ingo Theiss (@itn3rd77) `__ - `Ivan Shvedunov (@ivan4th) `__ @@ -548,7 +548,6 @@ Contributors - `Sam Hughes (@MrEditor97) `__ - `Mariusz Kryński (@mrk-its) `__ - `Michael Davidson (@MrMDavidson) `__ -- `Ryan Matthews (@mrrsm) `__ - `MrZetor (@MrZetor) `__ - `mtl010957 (@mtl010957) `__ - `Murilo (@murilobaliego) `__ @@ -705,7 +704,6 @@ Contributors - `RubyBailey (@RubyBailey) `__ - `rweather (@rweather) `__ - `ryanalden (@ryanalden) `__ -- `Ryan Nazaretian (@ryannazaretian) `__ - `Silvio (@s1lvi0) `__ - `Jan Čermák (@sairon) `__ - `sascha lammers (@sascha432) `__ @@ -811,7 +809,6 @@ Contributors - `TVDLoewe (@TVDLoewe) `__ - `Thorsten von Eicken (@tve) `__ - `Tyler Menezes (@tylermenezes) `__ -- `ukewea (@ukewea) `__ - `Unai (@unaiur) `__ - `UT2UH (@UT2UH) `__ - `Vc (@Valcob) `__ @@ -856,4 +853,4 @@ Contributors - `Michael Labuschke (@zigman79) `__ - `Christian Zufferey (@zuzu59) `__ -*This page was last updated June 16, 2022.* +*This page was last updated June 18, 2022.*