Enable IPv6 globally and add 2 new IP Address text sensors to track IPv6 addresses

This commit is contained in:
2024-09-05 00:22:55 +02:00
parent 086d6bed7f
commit b111be1124
5 changed files with 18 additions and 1 deletions

View File

@@ -20,3 +20,6 @@ sensor:
text_sensor: text_sensor:
- <<: !include text_sensor/version.yaml - <<: !include text_sensor/version.yaml
- <<: !include text_sensor/wifi_info.yaml - <<: !include text_sensor/wifi_info.yaml
network:
enable_ipv6: true

View File

@@ -28,3 +28,6 @@ text_sensor:
- <<: !include text_sensor/debug.yaml - <<: !include text_sensor/debug.yaml
- <<: !include text_sensor/version.yaml - <<: !include text_sensor/version.yaml
- <<: !include text_sensor/wifi_info.yaml - <<: !include text_sensor/wifi_info.yaml
network:
enable_ipv6: true

View File

@@ -1,7 +1,7 @@
--- ---
<<: !include api.yaml <<: !include api.yaml
<<: !include ota.yaml <<: !include ota.yaml
# <<: !include logger_debug.yaml <<: !include logger_debug.yaml
<<: !include ethernet.yaml <<: !include ethernet.yaml
binary_sensor: binary_sensor:
@@ -25,3 +25,6 @@ text_sensor:
# - <<: !include text_sensor/debug.yaml # - <<: !include text_sensor/debug.yaml
# - <<: !include text_sensor/version.yaml # - <<: !include text_sensor/version.yaml
- <<: !include text_sensor/ethernet_info.yaml - <<: !include text_sensor/ethernet_info.yaml
network:
enable_ipv6: true

View File

@@ -2,3 +2,7 @@
platform: ethernet_info platform: ethernet_info
ip_address: ip_address:
name: ${name} IP Address name: ${name} IP Address
address_1:
name: ${name} IP Address 1
address_2:
name: ${name} IP Address 2

View File

@@ -3,6 +3,10 @@ platform: wifi_info
ip_address: ip_address:
name: ${name} IP Address name: ${name} IP Address
icon: mdi:ip-network icon: mdi:ip-network
address_1:
name: ${name} IP Address 1
address_2:
name: ${name} IP Address 2
#ssid: #ssid:
# name: ${name} SSID # name: ${name} SSID
#bssid: #bssid: