diff --git a/components/network.rst b/components/network.rst index 60e97e094..34b1d1c71 100644 --- a/components/network.rst +++ b/components/network.rst @@ -14,11 +14,13 @@ networks (WiFi, Ethernet). # Example configuration network: enable_ipv6: true + min_ipv6_addr_count: 2 Configuration variables: ------------------------ - **enable_ipv6** (*Optional*, boolean): Enables IPv6 support. Defaults to ``false``. +- **min_ipv6_addr_count** (*Optional*, integer): ESPHome considers the network to be connected when it has one IPv4 address and this number of IPv6 addresses. Defaults to ``0`` so as to not hang on boot with networks where IPv6 is not enabled. ``2`` is typically a reasonable value for configurations requiring IPv6. See Also -------- diff --git a/components/text_sensor/ethernet_info.rst b/components/text_sensor/ethernet_info.rst index cecfe2434..7acc81ec7 100644 --- a/components/text_sensor/ethernet_info.rst +++ b/components/text_sensor/ethernet_info.rst @@ -15,6 +15,16 @@ via text sensors. - platform: ethernet_info ip_address: name: ESP IP Address + address_0: + name: ESP IP Address 0 + address_1: + name: ESP IP Address 1 + address_2: + name: ESP IP Address 2 + address_3: + name: ESP IP Address 3 + address_4: + name: ESP IP Address 4 Configuration variables: @@ -22,6 +32,8 @@ Configuration variables: - **ip_address** (*Optional*): Expose the IP Address of the ESP as a text sensor. All options from :ref:`Text Sensor `. +- **address_0-address_4** (*Optional*): With dual stack (IPv4 and IPv6) the device will have at least two IP addresses -- often more. To report all addresses the configuration may have up to five sub-sensors. All options from + :ref:`Text Sensor `. See Also -------- diff --git a/components/text_sensor/wifi_info.rst b/components/text_sensor/wifi_info.rst index 0d7883d8f..b860eee4d 100644 --- a/components/text_sensor/wifi_info.rst +++ b/components/text_sensor/wifi_info.rst @@ -15,6 +15,16 @@ via text sensors. - platform: wifi_info ip_address: name: ESP IP Address + address_0: + name: ESP IP Address 0 + address_1: + name: ESP IP Address 1 + address_2: + name: ESP IP Address 2 + address_3: + name: ESP IP Address 3 + address_4: + name: ESP IP Address 4 ssid: name: ESP Connected SSID bssid: @@ -31,6 +41,8 @@ Configuration variables: - **ip_address** (*Optional*): Expose the IP Address of the ESP as a text sensor. All options from :ref:`Text Sensor `. +- **address_0-address_4** (*Optional*): With dual stack (IPv4 and IPv6) the device will have at least two IP addresses -- often more. To report all addresses the configuration may have up to five sub-sensors. All options from + :ref:`Text Sensor `. - **ssid** (*Optional*): Expose the SSID of the currently connected WiFi network as a text sensor. All options from :ref:`Text Sensor `. - **bssid** (*Optional*): Expose the BSSID of the currently connected WiFi network as a text sensor. All options from