mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
more manual tweaks, and I really fucking need to stop and get groceries
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user