From 0bcbccba57d59664be6df4c307185450bfcf3414 Mon Sep 17 00:00:00 2001 From: Aiden <37043404+tarontop@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:52:52 +0800 Subject: [PATCH] Update athom-smart-plug.yaml --- athom-smart-plug.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/athom-smart-plug.yaml b/athom-smart-plug.yaml index 3e93471..e1cf20a 100644 --- a/athom-smart-plug.yaml +++ b/athom-smart-plug.yaml @@ -89,7 +89,6 @@ binary_sensor: - ON for at least 4s then: - button.press: Reset - sensor: - platform: uptime name: "Uptime Sensor" @@ -113,6 +112,7 @@ sensor: unit_of_measurement: "%" entity_category: diagnostic + - platform: cse7766 current: name: "Current" @@ -160,7 +160,7 @@ sensor: accuracy_decimals: 3 lambda: |- return id(total_energy); - update_interval: 10s + update_interval: ${sensor_update_interval} - platform: total_daily_energy name: "Total Daily Energy" @@ -171,7 +171,6 @@ sensor: filters: - multiply: 0.001 - button: - platform: factory_reset name: "Restart with Factory Default Settings"