diff --git a/Doxygen b/Doxygen index 7e8a90906..aa8b95949 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.5.1 +PROJECT_NUMBER = 2022.6.0 # 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 5b8301601..8a9cebdd3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ ESPHOME_PATH = ../esphome -ESPHOME_REF = 2022.5.1 +ESPHOME_REF = 2022.6.0 .PHONY: html html-strict cleanhtml deploy help live-html Makefile netlify netlify-api api netlify-dependencies svg2png copy-svg2png minify diff --git a/_redirects b/_redirects index 991abd4e3..f6b61f081 100644 --- a/_redirects +++ b/_redirects @@ -2,3 +2,4 @@ # Moved components # e.g: /components/sensors/abc.html /components/sensors/xyz.html 301 +/components/sensor/sgp40.html /components/sensor/sgp4x.html 301 diff --git a/_static/changelog-2022.6.0.png b/_static/changelog-2022.6.0.png new file mode 100644 index 000000000..e612869e9 Binary files /dev/null and b/_static/changelog-2022.6.0.png differ diff --git a/_static/version b/_static/version index d41e2e729..1245b2d31 100644 --- a/_static/version +++ b/_static/version @@ -1 +1 @@ -2022.5.1 \ No newline at end of file +2022.6.0 \ No newline at end of file diff --git a/changelog/2022.6.0.rst b/changelog/2022.6.0.rst new file mode 100644 index 000000000..88cf474b0 --- /dev/null +++ b/changelog/2022.6.0.rst @@ -0,0 +1,220 @@ +ESPHome 2022.6.0 - 15th June 2022 +================================= + +.. seo:: + :description: Changelog for ESPHome 2022.6.0. + :image: /_static/changelog-2022.6.0.png + :author: Jesse Hills + :author_twitter: @jesserockz + +.. imgtable:: + :columns: 2 + + Tuya Select, components/select/tuya, tuya.png + SGP41, components/sensor/sgp4x, sgp40.jpg + Media Player Core, components/media_player/index, folder-open.svg + I2S Audio, components/media_player/i2s_audio, i2s_audio.svg + + +We are almost half way through 2022 already! My, how fast time flies when we +are having fun with ESPHome. This release is kind of small, but packs some big features. +There will be no 2022.7.0 (July) release next month as I (:ghuser:`jesserockz`) will be away +around that time. So lets hope we can make 2022.8.0 worth the wait. + +🎶🎶🎶 Media Players +-------------------- + +ESPHome can now become a media player target for Home Assistant. This allows users to buy or build +ESP32 based speakers and place them around the house. + +Link to `Media Players `_. + +Join us in a live stream all about Audio in the Open Home! + +When: Thursday, June 16, at 7pm UTC / 12pm PST / 9pm CET +More info here... + +.. raw:: html + + + + +Includes with vars +------------------ + +:ghuser:`jimtng` is a newcomer to ESPHome. While migrating everything from a certain other +firmware, they found that they had to duplicate lots of yaml configuration for their many devices. +Basically, they decided to upgrade the ``!include`` yaml "directive" to allow variables. + +.. code-block:: yaml + + # device.yaml + binary_sensor: + - <<: !include + file: bin-sensor.yaml + vars: + pin: GPIO1 + name: "Binary Sensor 1" + switch: my_switch_1_id + delay: 10s + - <<: !include + file: bin-sensor.yaml + vars: + pin: GPIO1 + name: "Binary Sensor 2" + switch: my_switch_2_id + delay: 60s + + # bin-sensor.yaml + platform: gpio + pin: ${pin} + name: ${name} + on_press: + - switch.turn_on: ${switch} + - delay: ${delay} + - switch.turn_off: ${switch} + +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. + +Breaking Changes +---------------- + +TCS34725 integration time +^^^^^^^^^^^^^^^^^^^^^^^^^ + +The sampling settings for the TCS34725 have had a new option ``auto`` added and set as the default. This allows for better accuracy. +You are able to set it back to the previous default value by specifying ``integration_time: 2.4ms`` in your configuration. + +SGP40 moved +^^^^^^^^^^^ + +While adding support for the SGP41 chip, the SGP40 was moved and they were both combined into a new ``sgp4x`` component. + +MQTT fan speeds +^^^^^^^^^^^^^^^ + +:esphomepr:`3397` removes deprecated MQTT fan speed state and speed command topics. +These were replaced with speed level state and command topics in ESPHome 2021.10.0. + +AC Dimmer +^^^^^^^^^ + +Due to an output power calculation the perceived power might vary slightly specially in the lower and upper regions. + +DisplayBuffer +^^^^^^^^^^^^^ + +A new virtual method was added to the DisplayBuffer class for specifying the display type. This change only affects ``external_components``. +See :esphomepr:`3430` for more details. + +Full list of changes +-------------------- + +New Components +^^^^^^^^^^^^^^ + +- Add Tuya select :esphomepr:`3469` by :ghuser:`bearpawmaxim` (new-integration) +- Add support for SGP41 :esphomepr:`3382` by :ghuser:`martgras` (new-integration) (breaking-change) +- Implement Media Player and I2S Media player :esphomepr:`3487` by :ghuser:`jesserockz` (new-integration) + +Breaking Changes +^^^^^^^^^^^^^^^^ + +- Tcs34725 automatic sampling settings for improved dynamics and accuracy :esphomepr:`3258` by :ghuser:`swifty99` (breaking-change) +- Add support for SGP41 :esphomepr:`3382` by :ghuser:`martgras` (new-integration) (breaking-change) +- Remove deprecated fan speeds :esphomepr:`3397` by :ghuser:`kbickar` (breaking-change) +- Output a true RMS voltage % :esphomepr:`3494` by :ghuser:`josephdouce` (breaking-change) +- Add display_type property to DisplayBuffer :esphomepr:`3430` by :ghuser:`guillempages` (breaking-change) + +Beta Changes +^^^^^^^^^^^^ + +- publish fan speed count for discovery :esphomepr:`3537` by :ghuser:`ssieb` +- Nextion brightness setting requires an assignment :esphomepr:`3533` by :ghuser:`nagyv` +- Implement media player volume actions :esphomepr:`3551` by :ghuser:`jesserockz` +- Fix compilation with ESP32-S3 :esphomepr:`3543` by :ghuser:`misery` +- Bm3xx: Fix typo :esphomepr:`3559` by :ghuser:`martgras` + +Notable Changes +^^^^^^^^^^^^^^^ + +- Add variable substitutions for !include :esphomepr:`3510` by :ghuser:`jimtng` (notable-change) + +All changes +^^^^^^^^^^^ + +- Tcs34725 automatic sampling settings for improved dynamics and accuracy :esphomepr:`3258` by :ghuser:`swifty99` (breaking-change) +- Remove duplicate convert_to_8bit_color function. :esphomepr:`2469` by :ghuser:`davet2001` +- Bump esptool from 3.3 to 3.3.1 :esphomepr:`3468` by :ghuser:`dependabot[bot]` +- Bump pylint from 2.13.8 to 2.13.9 :esphomepr:`3470` by :ghuser:`dependabot[bot]` +- Tuya status gpio support :esphomepr:`3466` by :ghuser:`bearpawmaxim` +- Add Tuya select :esphomepr:`3469` by :ghuser:`bearpawmaxim` (new-integration) +- MQTT cover: send state even if position is available :esphomepr:`3473` by :ghuser:`pyos` +- Ili9341 8bit indexed mode pt1 :esphomepr:`2490` by :ghuser:`davet2001` +- feat: esp32-camera add stream event :esphomepr:`3285` by :ghuser:`myml` +- Add support for SGP41 :esphomepr:`3382` by :ghuser:`martgras` (new-integration) (breaking-change) +- add support user-defined modbus functions :esphomepr:`3461` by :ghuser:`gazoodle` +- Remove deprecated fan speeds :esphomepr:`3397` by :ghuser:`kbickar` (breaking-change) +- Fix compile issues on windows :esphomepr:`3491` by :ghuser:`jesserockz` +- midea: New power_toggle action. Auto-use remote transmitter. :esphomepr:`3496` by :ghuser:`dudanov` +- Output a true RMS voltage % :esphomepr:`3494` by :ghuser:`josephdouce` (breaking-change) +- [scd4x] Fix not passing arguments to templatable value for perform_forced_calibration :esphomepr:`3495` by :ghuser:`Wumpf` +- Thermostat preset with modes :esphomepr:`3298` by :ghuser:`MrMDavidson` +- Allow Prometheus component to export internal components :esphomepr:`3508` by :ghuser:`jangrewe` +- [BedJet] Add configurable heating strategy :esphomepr:`3519` by :ghuser:`jhansche` +- Add variable substitutions for !include :esphomepr:`3510` by :ghuser:`jimtng` (notable-change) +- Change rain intensity sensor string :esphomepr:`3511` by :ghuser:`wtremmel` +- Implement Media Player and I2S Media player :esphomepr:`3487` by :ghuser:`jesserockz` (new-integration) +- Add mqtt.on_connect and mqtt.on_disconnect triggers :esphomepr:`3520` by :ghuser:`jimtng` +- Refactor clock syncing :esphomepr:`3503` by :ghuser:`jhansche` +- Added RC6 protocol support :esphomepr:`3514` by :ghuser:`Emrvb` +- Add display_type property to DisplayBuffer :esphomepr:`3430` by :ghuser:`guillempages` (breaking-change) +- Correct ADC auto-range for ESP32-S2 variant (13 bit adc) :esphomepr:`3158` by :ghuser:`CarlosGS` +- Suppress first rotary encoder event :esphomepr:`3532` by :ghuser:`mmakaay` +- Fix endless 'WiFi Unknown connection status 0' loop :esphomepr:`3530` by :ghuser:`mmakaay` +- support rotated ILI9341 (ILI9342) :esphomepr:`3526` by :ghuser:`ssieb` +- Fix sdp3x error checking :esphomepr:`3531` by :ghuser:`Azimath` +- Fix percentage validation for wrong data type input :esphomepr:`3524` by :ghuser:`mmakaay` +- Block Tuya light from reacting to dp changes if transitioning :esphomepr:`3076` by :ghuser:`VitaliyKurokhtin` +- Cleanup deprecated EntityBase::hash_base() :esphomepr:`3525` by :ghuser:`mmakaay` +- Fix bogus reading on no communication with MAX31865 :esphomepr:`3505` by :ghuser:`DAVe3283` +- Implement the media player actions :esphomepr:`3534` by :ghuser:`jesserockz` +- RG15 data is float/double, not int :esphomepr:`3512` by :ghuser:`wtremmel` +- publish fan speed count for discovery :esphomepr:`3537` by :ghuser:`ssieb` +- Nextion brightness setting requires an assignment :esphomepr:`3533` by :ghuser:`nagyv` +- Implement media player volume actions :esphomepr:`3551` by :ghuser:`jesserockz` +- Fix compilation with ESP32-S3 :esphomepr:`3543` by :ghuser:`misery` +- Bm3xx: Fix typo :esphomepr:`3559` by :ghuser:`martgras` + +Past Changelogs +--------------- + +- :doc:`2022.5.0` +- :doc:`2022.4.0` +- :doc:`2022.3.0` +- :doc:`2022.2.0` +- :doc:`2022.1.0` +- :doc:`2021.12.0` +- :doc:`2021.11.0` +- :doc:`2021.10.0` +- :doc:`2021.9.0` +- :doc:`2021.8.0` +- :doc:`v1.20.0` +- :doc:`v1.19.0` +- :doc:`v1.18.0` +- :doc:`v1.17.0` +- :doc:`v1.16.0` +- :doc:`v1.15.0` +- :doc:`v1.14.0` +- :doc:`v1.13.0` +- :doc:`v1.12.0` +- :doc:`v1.11.0` +- :doc:`v1.10.0` +- :doc:`v1.9.0` +- :doc:`v1.8.0` +- :doc:`v1.7.0` diff --git a/changelog/index.rst b/changelog/index.rst index 56c0517e3..b395ce5f6 100644 --- a/changelog/index.rst +++ b/changelog/index.rst @@ -2,7 +2,7 @@ Changelog ========= .. redirect:: - :url: /changelog/2022.5.0.html + :url: /changelog/2022.6.0.html .. toctree:: :glob: diff --git a/components/climate/bedjet.rst b/components/climate/bedjet.rst index 3d7d91d4f..78b15134a 100644 --- a/components/climate/bedjet.rst +++ b/components/climate/bedjet.rst @@ -41,6 +41,10 @@ Configuration variables: - **ble_client_id** (**Required**, :ref:`config-id`): The ID of the BLE Client. - **time_id** (*Optional*, :ref:`config-id`): The ID of a :ref:`Time Component