mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 10:30:14 -04:00
16 lines
528 B
YAML
16 lines
528 B
YAML
# Example configuration entry with 2 sensors and filter
|
|
sensor:
|
|
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
|
|
name: "RSSI"
|
|
id: local_wifi_signal_db
|
|
update_interval: 60s
|
|
entity_category: "diagnostic"
|
|
|
|
- platform: copy # Reports the WiFi signal strength in %
|
|
source_id: local_wifi_signal_db
|
|
name: "WiFi Signal Strength"
|
|
filters:
|
|
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
|
|
unit_of_measurement: "%"
|
|
entity_category: "diagnostic"
|
|
device_class: "" |