From c30686cc8bf70a0619e082916f96bac65221a5b2 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Thu, 3 Nov 2022 10:39:35 +0100 Subject: [PATCH] Defined sampling size for WAN traffic sensors. --- .HA_VERSION | 2 +- sensors.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.HA_VERSION b/.HA_VERSION index b04f085..4d4bb86 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2022.10.0 \ No newline at end of file +2022.11.0 \ No newline at end of file diff --git a/sensors.yaml b/sensors.yaml index 4310d4f..502eba4 100644 --- a/sensors.yaml +++ b/sensors.yaml @@ -52,11 +52,13 @@ name: 'WAN Traffic In' state_characteristic: mean entity_id: sensor.internet_speed_in + sampling_size: 10 - platform: statistics name: 'WAN Traffic Out' state_characteristic: mean entity_id: sensor.internet_speed_out + sampling_size: 10 - platform: template sensors: