mirror of
https://github.com/athom-tech/esp32-configs.git
synced 2026-07-27 19:56:13 +00:00
Add device_class: "" fix to the WiFi Signal Percentage sensor
Add device_class: "" fix to the WiFi Signal Percentage sensor
This commit is contained in:
@@ -114,20 +114,19 @@ sensor:
|
||||
internal: true
|
||||
|
||||
- platform: wifi_signal
|
||||
name: "WiFi Signal"
|
||||
name: "WiFi Signal dB"
|
||||
id: wifi_signal_db
|
||||
update_interval: 60s
|
||||
entity_category: diagnostic
|
||||
internal: true
|
||||
update_interval: "${update_interval}"
|
||||
entity_category: "diagnostic"
|
||||
|
||||
# Reports the WiFi signal strength in %
|
||||
- platform: copy
|
||||
source_id: wifi_signal_db
|
||||
name: "WiFi Strength"
|
||||
name: "WiFi Signal Percent"
|
||||
filters:
|
||||
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
|
||||
unit_of_measurement: "%"
|
||||
entity_category: diagnostic
|
||||
unit_of_measurement: "Signal %"
|
||||
entity_category: "diagnostic"
|
||||
device_class: ""
|
||||
|
||||
- platform: cse7766
|
||||
current:
|
||||
|
||||
Reference in New Issue
Block a user