diag.yaml 849 B

1234567891011121314151617181920212223242526272829303132
  1. ---
  2. button:
  3. - platform: restart
  4. name: "${friendly_devicename} Restart"
  5. - platform: safe_mode
  6. name: "${friendly_devicename} Safe Mode Boot"
  7. entity_category: diagnostic
  8. sensor:
  9. - platform: wifi_signal
  10. name: "${friendly_devicename} WiFi Signal"
  11. id: ${low_devicename}_wifi_signal
  12. update_interval: 60s
  13. entity_category: diagnostic
  14. # Reports the WiFi signal strength in %
  15. - platform: copy
  16. source_id: "${low_devicename}_wifi_signal"
  17. name: "${friendly_devicename} WiFi Strength"
  18. filters:
  19. - lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
  20. unit_of_measurement: "%"
  21. entity_category: diagnostic
  22. - platform: uptime
  23. name: Uptime
  24. binary_sensor:
  25. - platform: status
  26. name: "${friendly_devicename} status"
  27. text_sensor:
  28. - platform: version
  29. name: "${friendly_devicename} Version"