Skip to content

Commit c4a7c12

Browse files
committed
Remove filter
1 parent e312e70 commit c4a7c12

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

athom-smart-plug-v2.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ substitutions:
55
room: ""
66
device_description: "athom esp8285 power monitoring smart plug v2"
77
project_name: "China Athom Technology.Athom Plug V2"
8-
project_version: "v2.1.1"
8+
project_version: "v2.1.2"
99
sensor_update_interval: "10s"
1010
relay_restore_mode: RESTORE_DEFAULT_ON
1111
# Current Limit in Amps. AU Plug = 10. IL, BR, EU, UK, US Plug = 16.
@@ -200,7 +200,6 @@ sensor:
200200
icon: mdi:current-ac
201201
filters:
202202
- throttle_average: ${sensor_update_interval}
203-
- lambda: if (x < 0.060) return 0.0; else return x; # For the chip will report less than 3w power when no load is connected
204203
on_value_range:
205204
- above: ${current_limit}
206205
then:
@@ -219,7 +218,6 @@ sensor:
219218
icon: mdi:power
220219
filters:
221220
- throttle_average: ${sensor_update_interval}
222-
- lambda: if (x < 3.0) return 0.0; else return x; # For the chip will report less than 3w power when no load is connected
223221

224222
energy:
225223
name: "Energy"

0 commit comments

Comments
 (0)