From c5e0f65d38243a0ee630046d888330cad593675d Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Tue, 22 Feb 2022 23:19:28 +0100 Subject: [PATCH] Added soon-to-be-option to preserve current behavior regarding WAN traffic sensors. --- sensors.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sensors.yaml b/sensors.yaml index 7c9761a..4ba6c05 100644 --- a/sensors.yaml +++ b/sensors.yaml @@ -52,10 +52,12 @@ - platform: statistics name: 'WAN Traffic In' + state_characteristic: mean entity_id: sensor.internet_speed_in - platform: statistics name: 'WAN Traffic Out' + state_characteristic: mean entity_id: sensor.internet_speed_out - platform: template @@ -63,7 +65,7 @@ sun_rising_template: friendly_name: "Sun Rising Template" value_template: "{{ as_timestamp(states.sun.sun.attributes.next_rising) | timestamp_custom ('%H:%M') }}" - + - platform: template sensors: sun_setting_template: