Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lvgl] Enhancements #4252

Closed
wants to merge 64 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
f6d0f3c
Bump version to 2024.9.0-dev
jesserockz Aug 14, 2024
f34cb8c
Merge branch 'beta' into next
jesserockz Aug 14, 2024
b53bb97
Merge branch 'beta' into next
jesserockz Aug 16, 2024
5954531
[lvgl] Update layout docs (#4165)
clydebarrow Aug 18, 2024
c9bde47
Merge branch 'beta' into next
jesserockz Aug 19, 2024
baf7334
Merge branch 'current' into next
jesserockz Aug 20, 2024
ae0ae44
Merge branch 'beta' into next
jesserockz Aug 21, 2024
b8fd3f6
Merge branch 'current' into next
jesserockz Aug 21, 2024
78acfdf
Add output source priority "hybrid" (#4175)
syssi Aug 22, 2024
b8582c0
Enable verbose mode from env ESPHOME_VERBOSE or --verbose (#3992)
ptr727 Aug 22, 2024
90cad7d
Tuya number: added description of new datapoint_hidden yaml key (#4010)
szupi-ipuzs Aug 22, 2024
b500331
bl0942: Add address and line_frequency options (#4126)
dwmw2 Aug 26, 2024
16a8c05
Esp32_rmt_led_strip_reset (#4194)
angelnu Aug 27, 2024
f2c3524
[ili9xxx] Document that invert_colors is required (#4190)
clydebarrow Aug 27, 2024
57d4101
Add WS2811 to esp32_rmt_led_strip (#4193)
angelnu Aug 27, 2024
97dee02
Merge branch 'current' into next
jesserockz Aug 28, 2024
89efc91
Merge branch 'current' into next
jesserockz Aug 28, 2024
53e10ff
[lvgl] Document `lvgl.widget.focus` (#4172)
clydebarrow Aug 28, 2024
bd726c5
Add BL0906 documentation (#4196)
tarontop Aug 29, 2024
4846dc4
[gt911] Document reset pin (#4206)
clydebarrow Aug 29, 2024
30637b1
[st7701s] Document delay feature (#4189)
clydebarrow Aug 29, 2024
24bfb50
update documentation for esp32_can (#4199)
mrk-its Aug 29, 2024
f1b0f2e
Tuya Number: description of the new restore_value key for hidden data…
szupi-ipuzs Aug 30, 2024
31f188f
Document UDP component (#3918)
clydebarrow Aug 30, 2024
397a225
Documentation for CH422G I/O Expander (#4210)
jesterret Sep 2, 2024
d41d2d6
Add enable_pin to RPI_DPI_RGB Display Driver doc (#4212)
lboue Sep 2, 2024
ff35867
Add Gree model YX1FF (#4161)
dangreco Sep 2, 2024
3bfc52e
[modbus_controller] Pref to allow duplicate commands (#4203)
0x3333 Sep 2, 2024
fac60a6
Merge branch 'current' into next
jesserockz Sep 3, 2024
17952e4
Merge branch 'current' into next
jesserockz Sep 3, 2024
e930ea2
Merge branch 'current' into next
jesserockz Sep 3, 2024
9f7548b
Voice assist improvement docs - conversation_timeout (#4213)
jeffc Sep 4, 2024
81f8f3d
Add calibration values for BL0942 (#4163)
dwmw2 Sep 5, 2024
f50349d
Add documentation for StatsD component (#3802)
Links2004 Sep 5, 2024
420c7b2
Add supported domains for HA switch (#4215)
jesserockz Sep 5, 2024
53b8120
Add BMP280 SPI Component (#4064)
ademuri Sep 5, 2024
0379478
[lvgl] Document msgbox changes (#4209)
clydebarrow Sep 9, 2024
0d63a2c
Support for light sensors LTR-501, LTR-301, LTR-558 (#3616)
latonita Sep 9, 2024
81f838f
[bl0942] Update docs for accuracy fixes in esphome/esphome#7428 (#4237)
dwmw2 Sep 10, 2024
d1eb610
[LVGL] documentation for gradients and meter parts. (#4236)
clydebarrow Sep 10, 2024
bdd3e0c
Merge branch 'current' into next
jesserockz Sep 10, 2024
9800b81
[dsmr] Add internal 'telegram' text_sensor to support bridging (#3890)
marcovaneck Sep 10, 2024
3c927f7
Add ATM90E32 Offset calibration (#4157)
descipher Sep 10, 2024
20cf2ac
Update max31856 docs to support thermocouple type selection (#4119)
ArkanStasarik Sep 11, 2024
42ca53f
[i2s_audio] Add more options to speakers and microphones (#4166)
pyos Sep 11, 2024
6bb4798
[Modbus Controller] Added preference to change command retries (#4202)
0x3333 Sep 11, 2024
18d8cba
Described new esp32_camera frame buffer option. (#4227)
ajwahab Sep 11, 2024
293a1f6
Merge branch 'current' into next
jesserockz Sep 11, 2024
30487f1
Bump version to 2024.10.0-dev
jesserockz Sep 11, 2024
b22cc0b
Bump version to 2024.9.0b1
jesserockz Sep 11, 2024
311dbeb
Update changelog for 2024.9.0b1
jesserockz Sep 11, 2024
ccf863a
Update supporters for 2024.9.0b1
jesserockz Sep 11, 2024
d267ea6
Merge pull request #4243 from esphome/bump-2024.9.0b1
jesserockz Sep 11, 2024
3331f92
Update ble_presence.rst to include information about Manufacturer ID …
tomer-w Sep 13, 2024
7d61eb1
LVGL cookbook (#4110)
nagyrobi Sep 15, 2024
119d7ae
Merge branch 'current' into next
jesserockz Sep 15, 2024
0f6122e
Merge branch 'current' into beta
jesserockz Sep 15, 2024
3003276
LVGL cookbook (#4110)
nagyrobi Sep 15, 2024
719e005
Bump version to 2024.9.0b2
jesserockz Sep 15, 2024
0ca01e4
Update changelog for 2024.9.0b2
jesserockz Sep 15, 2024
2ffb6d0
Update supporters for 2024.9.0b2
jesserockz Sep 15, 2024
809c53c
Merge pull request #4251 from esphome/bump-2024.9.0b2
jesserockz Sep 16, 2024
25280a8
Merge branch 'beta' into next
jesserockz Sep 16, 2024
d9095db
Add hello world doc;
clydebarrow Sep 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Doxygen
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 2024.8.3
PROJECT_NUMBER = 2024.9.0b2

# 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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ESPHOME_PATH = ../esphome
ESPHOME_REF = 2024.8.3
ESPHOME_REF = 2024.9.0b2
PAGEFIND_VERSION=1.1.0
PAGEFIND=pagefind
NET_PAGEFIND=../pagefindbin/pagefind
Expand Down
Binary file added _static/changelog-2024.9.0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _static/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.8.3
2024.9.0b2
189 changes: 189 additions & 0 deletions changelog/2024.9.0.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
ESPHome 2024.9.0 - 18th September 2024
======================================

.. seo::
:description: Changelog for ESPHome 2024.9.0.
:image: /_static/changelog-2024.9.0.png
:author: Jesse Hills
:author_twitter: @jesserockz

.. imgtable::
:columns: 3

UDP, components/udp, udp.svg
StatsD, components/statsd, connection.svg
BL0906, components/sensor/bl0906, bl0906.png
CH422G, components/ch422g, ch422g.svg
BMP280 SPI, components/sensor/bmp280, bmp280.jpg
LTR501 & LTR301 & LTR558, components/sensor/ltr501, ltr501.jpg


Full list of changes
--------------------

New Components
^^^^^^^^^^^^^^

- Add support for BL0906 energy meter :esphomepr:`7339` by :ghuser:`tarontop` (new-integration)
- [udp] Implement UDP sensor broadcast :esphomepr:`6865` by :ghuser:`clydebarrow` (new-integration)
- CH422G support :esphomepr:`7356` by :ghuser:`jesterret` (new-integration)
- Add StatsD component :esphomepr:`6642` by :ghuser:`Links2004` (new-integration)
- Add support for using BMP280 with SPI :esphomepr:`7053` by :ghuser:`ademuri` (new-integration) (breaking-change)
- LTR-501, LTR-301, LTR-558 Series of Lite-On Light (ALS) and Proximity(PS) sensors :esphomepr:`6262` by :ghuser:`latonita` (new-integration)

Breaking Changes
^^^^^^^^^^^^^^^^

- [ili9xxx] Make `invert_colors` required :esphomepr:`7292` by :ghuser:`gvdhoven` (breaking-change)
- Add support for using BMP280 with SPI :esphomepr:`7053` by :ghuser:`ademuri` (new-integration) (breaking-change)
- Move I2S config settings the the base i2sAudio files. Phase 1 :esphomepr:`7183` by :ghuser:`nielsnl68` (breaking-change)
- [i2s_audio] Add more options to speakers and microphones :esphomepr:`7306` by :ghuser:`pyos` (breaking-change)

Beta Changes
^^^^^^^^^^^^

- [voice-assistant] Dont error on ``no_wake_word`` timeout error with streaming wake word :esphomepr:`7435` by :ghuser:`jesserockz`
- Improve manufacturer data tracing to identify BLE devices a bit easie… :esphomepr:`7332` by :ghuser:`tomer-w`

All changes
^^^^^^^^^^^

- [code-quality] fix performance-unnecessary-value-param :esphomepr:`7274` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy prometheus :esphomepr:`7284` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy ota :esphomepr:`7282` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy e131 :esphomepr:`7281` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy wireguard :esphomepr:`7287` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy improv_serial :esphomepr:`7283` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy captive_portal :esphomepr:`7280` by :ghuser:`tomaszduda23`
- Add HMAC-MD5 support for authenticating OTA updates :esphomepr:`7200` by :ghuser:`dwmw2` (new-integration)
- [const] Add UNIT_LITRE :esphomepr:`7317` by :ghuser:`Roving-Ronin`
- [code-quality] fix clang-tidy socket :esphomepr:`7285` by :ghuser:`tomaszduda23`
- [code-quality] fix clang-tidy cstddef :esphomepr:`7324` by :ghuser:`tomaszduda23`
- Add output source priority "hybrid" :esphomepr:`7322` by :ghuser:`syssi`
- Enable verbose mode from env ESPHOME_VERBOSE or --verbose :esphomepr:`6987` by :ghuser:`ptr727`
- Tuya Number: allow to set hidden datapoints :esphomepr:`7024` by :ghuser:`szupi-ipuzs`
- feat: Expand ByteBuffer :esphomepr:`7316` by :ghuser:`Rapsssito`
- [ledc] Tweak fix in #6997 :esphomepr:`7336` by :ghuser:`kbx81`
- [ledc] Fix maximum brightness on ESP-IDF 5.1 :esphomepr:`7342` by :ghuser:`clydebarrow`
- [lvgl] Bug fixes: :esphomepr:`7341` by :ghuser:`clydebarrow`
- [const] Move ``CONF_LINE_FREQUENCY`` to const.py :esphomepr:`7351` by :ghuser:`jesserockz`
- bl0942: Fix init sequence, add address and line_frequency options :esphomepr:`7250` by :ghuser:`dwmw2`
- Add supported formats to media player :esphomepr:`7318` by :ghuser:`synesthesiam`
- Add reset to esp32_rmt_led_strip :esphomepr:`7354` by :ghuser:`angelnu`
- [ili9xxx] Make `invert_colors` required :esphomepr:`7292` by :ghuser:`gvdhoven` (breaking-change)
- Add WS2811 to esp32_rmt_led_strip :esphomepr:`7353` by :ghuser:`angelnu`
- [lvgl] Add lvgl.widget.focus action and related triggers. :esphomepr:`7315` by :ghuser:`clydebarrow`
- esp32_can: suppress compiler warning :esphomepr:`7372` by :ghuser:`mrk-its`
- Add support for BL0906 energy meter :esphomepr:`7339` by :ghuser:`tarontop` (new-integration)
- [platformio] Add environments for ESP-IDF 5.3 for development :esphomepr:`7371` by :ghuser:`clydebarrow`
- [lvgl] Bug fixes :esphomepr:`7370` by :ghuser:`clydebarrow`
- [bytebuffer] Use existing bit_cast operations. :esphomepr:`7374` by :ghuser:`clydebarrow`
- Bump actions/setup-python from 5.1.0 to 5.2.0 :esphomepr:`7375` by :ghuser:`dependabot[bot]`
- Bump actions/setup-python from 5.1.1 to 5.2.0 in /.github/actions/restore-python :esphomepr:`7376` by :ghuser:`dependabot[bot]`
- [gt911] Add reset pin config :esphomepr:`7373` by :ghuser:`clydebarrow`
- [st7701s] Add delay feature in init sequences :esphomepr:`7343` by :ghuser:`clydebarrow`
- Add now required `invert_colors` option to test files referencing ili9xxx :esphomepr:`7367` by :ghuser:`clydebarrow`
- esp32_can: make queue lengths configurable :esphomepr:`7361` by :ghuser:`mrk-its`
- [code-quality] fix clang-tidy web_server and web_server_base :esphomepr:`7286` by :ghuser:`tomaszduda23`
- Update MiCS Values :esphomepr:`7173` by :ghuser:`TrevorSchirmer`
- Tuya Number: allow restoring value of hidden datapoints :esphomepr:`7346` by :ghuser:`szupi-ipuzs`
- [udp] Implement UDP sensor broadcast :esphomepr:`6865` by :ghuser:`clydebarrow` (new-integration)
- update logs for bluetooth proxy :esphomepr:`7382` by :ghuser:`tomaszduda23`
- [font] Make display an auto-load, not a dependency :esphomepr:`7366` by :ghuser:`clydebarrow`
- CH422G support :esphomepr:`7356` by :ghuser:`jesterret` (new-integration)
- [rpi_dpi_rgb] Add enable_pin and reset_display method to driver :esphomepr:`7383` by :ghuser:`lboue`
- Bump actions/upload-artifact from 4.3.4 to 4.4.0 :esphomepr:`7379` by :ghuser:`dependabot[bot]`
- Fix build for esp32h2 using esp-idf 5.3 :esphomepr:`7393` by :ghuser:`mrene`
- Bump mDNS and follow ruff's suggestions :esphomepr:`7308` by :ghuser:`HeMan`
- Bump rp2040 Arduino platform and framework :esphomepr:`7134` by :ghuser:`HeMan`
- [gree] Add support for YX1FF remote :esphomepr:`7298` by :ghuser:`dangreco`
- [modbus_controller] Allow duplicate command config :esphomepr:`7311` by :ghuser:`0x3333`
- Better support for task blocking ring buffer reads and writes :esphomepr:`7390` by :ghuser:`kahrendt`
- Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 :esphomepr:`7395` by :ghuser:`dependabot[bot]`
- [api] Remove id from ``MediaPlayerSupportedFormat`` :esphomepr:`7406` by :ghuser:`jesserockz`
- Drop max BLE client connections limitation :esphomepr:`7088` by :ghuser:`syssi`
- [bl0942] loop and overflow cleanup :esphomepr:`7358` by :ghuser:`dwmw2`
- Bump peter-evans/create-pull-request from 6.1.0 to 7.0.0 :esphomepr:`7405` by :ghuser:`dependabot[bot]`
- Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 :esphomepr:`7404` by :ghuser:`dependabot[bot]`
- Voice assist improvement - configurable conversation_id timeout :esphomepr:`7385` by :ghuser:`jeffc`
- Support BL0942 calibration :esphomepr:`7299` by :ghuser:`dwmw2`
- [micro_wake_word] Remove duplicated download code :esphomepr:`7401` by :ghuser:`jesserockz`
- Add StatsD component :esphomepr:`6642` by :ghuser:`Links2004` (new-integration)
- [homeassistant-switch] Support different entity domains :esphomepr:`7331` by :ghuser:`jesserockz`
- Add support for using BMP280 with SPI :esphomepr:`7053` by :ghuser:`ademuri` (new-integration) (breaking-change)
- Add voice assistant announce :esphomepr:`7377` by :ghuser:`synesthesiam`
- [lvgl] Msgbox fixes and enhancements :esphomepr:`7380` by :ghuser:`clydebarrow`
- libretiny: Allow specifying version of explicitly imported sources :esphomepr:`7408` by :ghuser:`dwmw2`
- [libretiny] Report version 1.7.0 for 'dev' and 'latest' :esphomepr:`7415` by :ghuser:`dwmw2`
- LTR-501, LTR-301, LTR-558 Series of Lite-On Light (ALS) and Proximity(PS) sensors :esphomepr:`6262` by :ghuser:`latonita` (new-integration)
- Fix armv7 container builds :esphomepr:`7426` by :ghuser:`jesserockz`
- [gh-actions] Don't produce docker build summaries :esphomepr:`7430` by :ghuser:`jesserockz`
- Add BK72xx support to require_framework_version() :esphomepr:`7409` by :ghuser:`dwmw2`
- Switch IPv6 platform check to use require_framework_version() :esphomepr:`7410` by :ghuser:`dwmw2`
- [bl0942] Improve energy reporting :esphomepr:`7428` by :ghuser:`dwmw2`
- [rpi_dpi_rgb] Add bounce_buffer config for ESP-IDF 5.x :esphomepr:`7423` by :ghuser:`clydebarrow`
- [LVGL] Add color gradients :esphomepr:`7427` by :ghuser:`clydebarrow`
- [dsmr] Add internal 'telegram' text_sensor to support bridging :esphomepr:`6841` by :ghuser:`marcovaneck`
- Pull in new AsyncTCP for IPv6 on BK72xx :esphomepr:`7431` by :ghuser:`dwmw2`
- Bump LibreTiny recommended version to 1.7.0 :esphomepr:`7432` by :ghuser:`dwmw2`
- Enable IPv6 support for BK72xx :esphomepr:`7398` by :ghuser:`dwmw2`
- Move I2S config settings the the base i2sAudio files. Phase 1 :esphomepr:`7183` by :ghuser:`nielsnl68` (breaking-change)
- Implement all supported thermocouple types for MAX31856 :esphomepr:`7218` by :ghuser:`ArkanStasarik`
- [i2s_audio] Add more options to speakers and microphones :esphomepr:`7306` by :ghuser:`pyos` (breaking-change)
- [uponor_smatrix] Modifies sending algorithm :esphomepr:`7326` by :ghuser:`skasi7`
- User configurable frame buffer. :esphomepr:`7360` by :ghuser:`ajwahab`
- [Modbus Controller] Added preference to change command retries :esphomepr:`7312` by :ghuser:`0x3333`
- [voice-assistant] Dont error on ``no_wake_word`` timeout error with streaming wake word :esphomepr:`7435` by :ghuser:`jesserockz`
- Improve manufacturer data tracing to identify BLE devices a bit easie… :esphomepr:`7332` by :ghuser:`tomer-w`

Past Changelogs
---------------

- :doc:`2024.8.0`
- :doc:`2024.7.0`
- :doc:`2024.6.0`
- :doc:`2024.5.0`
- :doc:`2024.4.0`
- :doc:`2024.3.0`
- :doc:`2024.2.0`
- :doc:`2023.12.0`
- :doc:`2023.11.0`
- :doc:`2023.10.0`
- :doc:`2023.9.0`
- :doc:`2023.8.0`
- :doc:`2023.7.0`
- :doc:`2023.6.0`
- :doc:`2023.5.0`
- :doc:`2023.4.0`
- :doc:`2023.3.0`
- :doc:`2023.2.0`
- :doc:`2022.12.0`
- :doc:`2022.11.0`
- :doc:`2022.10.0`
- :doc:`2022.9.0`
- :doc:`2022.8.0`
- :doc:`2022.6.0`
- :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`
2 changes: 1 addition & 1 deletion changelog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Changelog
=========

.. redirect::
:url: /changelog/2024.8.0.html
:url: /changelog/2024.9.0.html

.. toctree::
:glob:
Expand Down
3 changes: 2 additions & 1 deletion components/binary_sensor/ble_presence.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ Using the configuration above, first, you should see a ``Starting scan...`` debu
boot-up. Then, when a BLE device is discovered, you should see messages like
``Parse Result:`` together with some information about their MAC address, address type,
advertised name, Service UUIDs, iBeacon UUIDs, iBeacon major and minor identifiers,
BLE manufacturer data, RSSI, and other data useful for debugging purposes.
BLE manufacturer ID and data, RSSI, and other data useful for debugging purposes.
You can find the official list of manufacturer IDs `here <https://bitbucket.org/bluetooth-SIG/public/src/main/assigned_numbers/company_identifiers/company_identifiers.yaml>`__ to help find your device.
Note that this is useful only during set-up and a less verbose log level
should be specified afterwards. If you don't see these messages, your device is unfortunately
currently not supported.
Expand Down
49 changes: 49 additions & 0 deletions components/binary_sensor/udp.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
UDP Binary Sensor
=================

.. seo::
:description: Instructions for setting up a UDP binary sensor.
:image: udp.svg

The ``udp`` binary sensor platform allows you to receive binary sensor data directly from another ESPHome node.

.. code-block:: yaml

# Example configuration entry
binary_sensor:
- platform: udp
id: switch_status
provider: light-switch
remote_id: light_switch

Configuration variables
-----------------------

- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
- **provider** (**Required**, string): The name of the provider node.
- **remote_id** (*Optional*, :ref:`config-id`): The ID of the original binary sensor in the provider device. If not specified defaults to the ID configured with ``id:``.
- **name** (*Optional*, string): The name of the binary sensor.
- **internal** (*Optional*, boolean): Whether the sensor should be exposed via API (e.g. to Home Assistant.) Defaults to ``true`` if name is not set, required if name is provided.
- All other options from :ref:`Binary Sensor <config-binary_sensor>`.

At least one of ``id`` and ``remote_id`` must be configured.

Publishing to Home Assistant
----------------------------

Typically this type of binary sensor would be used for internal automation purposes rather than having it published back to
Home Assistant, since it would be a duplicate of the original sensor.

If it *is* desired to expose the binary sensor to Home Assistant, then the ``internal:`` configuration setting needs to be explicitly
set to ``false`` and a name provided.
Only the state (i.e. binary value) of the remote sensor is received by the consumer, so any other attributes must be explicitly
configured.

See Also
--------

- :doc:`/components/udp`
- :doc:`/components/sensor/index`
- :ref:`automation`
- :apiref:`udp/udp_component.h`
- :ghedit:`Edit`
2 changes: 2 additions & 0 deletions components/canbus/esp32_can.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Configuration variables:

- **rx_pin** (**Required**, :ref:`Pin <config-pin>`): Receive pin.
- **tx_pin** (**Required**, :ref:`Pin <config-pin>`): Transmit pin.
- **rx_queue_len** (**Optional**, int): Length of RX queue.
- **tx_queue_len** (**Optional**, int): Length of TX queue, 0 to disable.
- All other options from :ref:`Canbus <config-canbus>`.

.. _esp32-can-bit-rate:
Expand Down
67 changes: 67 additions & 0 deletions components/ch422g.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
CH422G I/O Expander
====================

.. seo::
:description: Instructions for setting up CH422G digital port expanders in ESPHome.
:image: ch422g.svg


The CH422G component allows you to use the **CH422G** I/O expander in ESPHome.
It uses an :ref:`I²C Bus <i2c>` for communication.

Once configured, you can use any of the 8 available GPIO pins for your projects.
Within ESPHome they can be used in place of internal GPIO pins in many of ESPHome's components such as the GPIO Binary Sensor or GPIO Switch. They are not usable for PWM or other situations requiring an internal GPIO pin.

.. note::

This I/O Expander chip is used in the *Waveshare ESP32-S3-Touch-LCD-4.3*

.. code-block:: yaml

# Example configuration entry
ch422g:
- id: ch422g_hub
address: 0x24

# Individual outputs
switch:
- platform: gpio
name: CH422G Pin 0
pin:
ch422g: ch422g_hub
number: 0
mode:
output: true
inverted: false


Configuration variables:
************************

- **id** (**Required**, :ref:`config-id`): The id to use for this ``ch422g`` component.
- **address** (*Optional*, int): The I²C address of the driver.
Defaults to ``0x24``.
- **restore_value** (*Optional*, boolean): Writes default flags on setup, overriding values from chips cache.
Defaults to ``false``.



Pin configuration variables:
****************************

- **ch422g** (**Required**, :ref:`config-id`): The id of the ``ch422g`` component of the pin.
- **number** (**Required**, int): The pin number. Valid numbers are 0-7.
- **inverted** (*Optional*, boolean): If all read and written values
should be treated as inverted. Defaults to ``false``.
- **mode** (*Optional*, string): A pin mode to set the pin at. One of ``INPUT`` or ``OUTPUT``.


See Also
--------

- :ref:`i2c`
- :doc:`switch/gpio`
- :doc:`binary_sensor/gpio`
- `CH422G datasheet <https://www.wch-ic.com/downloads/file/315.html?time=2024-07-29%2002:02:32&code=Fxex1sTRHysGLS6ALgh7PTOOZnAACY6KTQx05vzD>`__
- :apiref:`ch422g/ch422g.h`
- :ghedit:`Edit`
1 change: 1 addition & 0 deletions components/climate/climate_ir.rst
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ The Daikin ARC remotes (``daikin_arc`` climate, ``daikin_arc417``, ``daikin_arc4
- ``yaa``
- ``yac``
- ``yac1fb9``
- ``yx1ff``

.. code-block:: yaml

Expand Down
8 changes: 4 additions & 4 deletions components/display/ili9xxx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ beyond the basic SPI connections, and a reasonable amount of RAM, it is not well
model: ili9341
dc_pin: GPIOXX
reset_pin: GPIOXX
lambda: |-
it.fill(COLOR_BLACK);
it.print(0, 0, id(my_font), id(my_red), TextAlign::TOP_LEFT, "Hello World!");
invert_colors: false
show_test_card: true

Configuration variables:
************************
Expand Down Expand Up @@ -101,7 +100,7 @@ Configuration variables:
- **offset_width** (*Optional*, int): Specify an offset for the x-direction of the display, typically used when an LCD is smaller than the maximum supported by the driver chip. Default is 0
- **offset_height** (*Optional*, int): Specify an offset for the y-direction of the display. Default is 0.

- **invert_colors** (*Optional*): With this boolean option you can invert the display colors.
- **invert_colors** (**Required**): Specifies whether the display colors should be inverted. Options are ``true`` or ``false`` - if you are unsure, use ``false`` and change if the colors are not as expected.
- **pixel_mode** (*Optional*): Allows forcing the display into 18 or 16 bit mode. Options are ``18bit`` or ``16bit``. If unspecified, the pixel mode will be determined by the model choice. Not all displays will work in both modes.
- **rotation** (*Optional*): Rotate the display presentation in software. Choose one of ``0°``, ``90°``, ``180°``, or ``270°``. This option cannot be used with ``transform``.
- **transform** (*Optional*): Transform the display presentation using hardware. All defaults are ``false``. This option cannot be used with ``rotation``.
Expand Down Expand Up @@ -265,6 +264,7 @@ This config rotates the display into landscape mode using the driver chip.
mirror_x: false
mirror_y: true
color_order: bgr
invert_colors: true
data_rate: 80MHz
cs_pin: GPIOXX
dc_pin: GPIO13
Expand Down
Loading
Loading