more manual tweaks, and I really fucking need to stop and get groceries

This commit is contained in:
CeeWeasel
2025-07-20 13:24:38 -04:00
parent 75fb9c2ab8
commit 0baf98f917
6 changed files with 72 additions and 59 deletions
+3 -3
View File
@@ -16,6 +16,6 @@ ethernet:
dns1: !secret iot_default_dns1
dns2: !secret iot_default_dns2
#text_sensor:
#- <<: !include text_sensor/ethernet_ip_address.config.yaml
#- <<: !include text_sensor/ethernet_mac_address.config.yaml
text_sensor:
- <<: !include text_sensor/ethernet_ip_address.config.yaml
- <<: !include text_sensor/ethernet_mac_address.config.yaml
@@ -1,3 +1,4 @@
platform: uptime
name: Uptime
disabled_by_default: true
disabled_by_default: true
icon: mdi:timer-check
@@ -1,9 +1,5 @@
# Text sensors with general information.
platform: template
#ip_address:
name: IP
icon: mdi:ip-network
entity_category: diagnostic
disabled_by_default: true
lambda: return {id(eth).get_ip_address().str() };
update_interval: 60s
platform: ethernet_info
ip_address:
name: "IP Address"
disabled_by_default: true
@@ -1,9 +1,4 @@
# Text sensors with general information.
platform: template
#mac_address:
name: Ethernet MAC Address
disabled_by_default: true
icon: mdi:network
entity_category: diagnostic
lambda: return {esp_eth_get_mac.str() };
update_interval: 60s
platform: ethernet_info
mac_address:
name: MAC Address
disabled_by_default: true
@@ -0,0 +1,10 @@
# Text sensors with general information.
platform: ethernet_info
ip_address:
name: "IP Address"
icon: mdi:ip
disabled_by_default: true
mac_address:
name: MAC Address
icon: mdi:network
disabled_by_default: true