mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-01-02 11:37:28 +01:00
Add text uptime sensor and update common configs
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
<<: !include wifi.yaml
|
<<: !include wifi.yaml
|
||||||
<<: !include api.yaml
|
<<: !include api.yaml
|
||||||
<<: !include ota.yaml
|
<<: !include ota.yaml
|
||||||
<<: !include logger.yaml
|
# <<: !include logger.yaml
|
||||||
|
<<: !include logger_debug.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- <<: !include binary_sensor/status.yaml
|
- <<: !include binary_sensor/status.yaml
|
||||||
@@ -18,7 +19,9 @@ sensor:
|
|||||||
- <<: !include sensor/wifi_signal.yaml
|
- <<: !include sensor/wifi_signal.yaml
|
||||||
|
|
||||||
text_sensor:
|
text_sensor:
|
||||||
|
- <<: !include text_sensor/debug.yaml
|
||||||
- <<: !include text_sensor/version.yaml
|
- <<: !include text_sensor/version.yaml
|
||||||
|
# - <<: !include text_sensor/uptime.yaml
|
||||||
- <<: !include text_sensor/wifi_info.yaml
|
- <<: !include text_sensor/wifi_info.yaml
|
||||||
|
|
||||||
network:
|
network:
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
<<: !include wifi_esp8266.yaml
|
<<: !include wifi_esp8266.yaml
|
||||||
<<: !include api.yaml
|
<<: !include api.yaml
|
||||||
<<: !include ota.yaml
|
<<: !include ota.yaml
|
||||||
<<: !include logger.yaml
|
# <<: !include logger.yaml
|
||||||
|
<<: !include logger_debug.yaml
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- <<: !include binary_sensor/status.yaml
|
- <<: !include binary_sensor/status.yaml
|
||||||
@@ -18,9 +19,9 @@ sensor:
|
|||||||
- <<: !include sensor/wifi_signal.yaml
|
- <<: !include sensor/wifi_signal.yaml
|
||||||
|
|
||||||
text_sensor:
|
text_sensor:
|
||||||
|
- <<: !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:
|
network:
|
||||||
enable_ipv6: true
|
enable_ipv6: true
|
||||||
# min_ipv6_addr_count: 2
|
|
||||||
3
common/text_sensor/uptime.yaml
Normal file
3
common/text_sensor/uptime.yaml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
platform: uptime
|
||||||
|
name: ${name} Uptime
|
||||||
Reference in New Issue
Block a user