From dcaf0bd18b370b2cfe712e3b5180d62456d65ea0 Mon Sep 17 00:00:00 2001 From: Jan Grewe <jan@faked.org> Date: Fri, 27 May 2022 16:40:45 +0200 Subject: [PATCH] rename sensors for better order --- include/text_sensors.yaml | 2 +- propbox.yaml | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/include/text_sensors.yaml b/include/text_sensors.yaml index 3dea323..a67a7ec 100644 --- a/include/text_sensors.yaml +++ b/include/text_sensors.yaml @@ -1,6 +1,6 @@ - platform: wifi_info ip_address: - name: "IP Address" + name: "Wifi IP Address" ssid: name: "Wifi SSID" bssid: diff --git a/propbox.yaml b/propbox.yaml index e79dfba..a0c92b5 100644 --- a/propbox.yaml +++ b/propbox.yaml @@ -44,6 +44,15 @@ http_request: useragent: esphome/${devicename} timeout: 10s +globals: + - id: schedule + type: int + restore_value: true + initial_value: '0' + +text_sensor: + !include include/text_sensors.yaml + sensor: ### Default Sensors @@ -52,7 +61,7 @@ sensor: update_interval: 60s - platform: uptime - name: "Uptime" + name: "Device Uptime" update_interval: 60s ### Specific Sensors @@ -85,15 +94,6 @@ sensor: name: "Water Temperature" accuracy_decimals: 2 -text_sensor: - !include include/text_sensors.yaml - -globals: - - id: schedule - type: int - restore_value: true - initial_value: '0' - select: - platform: template id: select_schedule @@ -112,7 +112,7 @@ select: switch: - platform: restart - name: "Restart" + name: "Device Restart" - platform: template id: propbox_light name: "Light Status" -- GitLab