From b111be1124aa428371b476ee6ac7a8d00de71323 Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Thu, 5 Sep 2024 00:22:55 +0200 Subject: [PATCH] Enable IPv6 globally and add 2 new IP Address text sensors to track IPv6 addresses --- common/common.yaml | 3 +++ common/common_dev.yaml | 3 +++ common/common_eth.yaml | 5 ++++- common/text_sensor/ethernet_info.yaml | 4 ++++ common/text_sensor/wifi_info.yaml | 4 ++++ 5 files changed, 18 insertions(+), 1 deletion(-) diff --git a/common/common.yaml b/common/common.yaml index ab25516..1e9cf61 100644 --- a/common/common.yaml +++ b/common/common.yaml @@ -20,3 +20,6 @@ sensor: text_sensor: - <<: !include text_sensor/version.yaml - <<: !include text_sensor/wifi_info.yaml + +network: + enable_ipv6: true \ No newline at end of file diff --git a/common/common_dev.yaml b/common/common_dev.yaml index 3450ea5..6283416 100644 --- a/common/common_dev.yaml +++ b/common/common_dev.yaml @@ -28,3 +28,6 @@ text_sensor: - <<: !include text_sensor/debug.yaml - <<: !include text_sensor/version.yaml - <<: !include text_sensor/wifi_info.yaml + +network: + enable_ipv6: true \ No newline at end of file diff --git a/common/common_eth.yaml b/common/common_eth.yaml index 9bbb5aa..73c9e00 100644 --- a/common/common_eth.yaml +++ b/common/common_eth.yaml @@ -1,7 +1,7 @@ --- <<: !include api.yaml <<: !include ota.yaml -# <<: !include logger_debug.yaml +<<: !include logger_debug.yaml <<: !include ethernet.yaml binary_sensor: @@ -25,3 +25,6 @@ text_sensor: # - <<: !include text_sensor/debug.yaml # - <<: !include text_sensor/version.yaml - <<: !include text_sensor/ethernet_info.yaml + +network: + enable_ipv6: true \ No newline at end of file diff --git a/common/text_sensor/ethernet_info.yaml b/common/text_sensor/ethernet_info.yaml index ced4070..bf7a054 100644 --- a/common/text_sensor/ethernet_info.yaml +++ b/common/text_sensor/ethernet_info.yaml @@ -2,3 +2,7 @@ platform: ethernet_info ip_address: name: ${name} IP Address + address_1: + name: ${name} IP Address 1 + address_2: + name: ${name} IP Address 2 \ No newline at end of file diff --git a/common/text_sensor/wifi_info.yaml b/common/text_sensor/wifi_info.yaml index 34b76f7..1755c07 100644 --- a/common/text_sensor/wifi_info.yaml +++ b/common/text_sensor/wifi_info.yaml @@ -3,6 +3,10 @@ platform: wifi_info ip_address: name: ${name} IP Address icon: mdi:ip-network + address_1: + name: ${name} IP Address 1 + address_2: + name: ${name} IP Address 2 #ssid: # name: ${name} SSID #bssid: