42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
##########################################################################################
|
|
# GENERAL COMMON SENSORS
|
|
# https://esphome.io/components/sensor/
|
|
# LITE (1MB-friendly)
|
|
##########################################################################################
|
|
sensor:
|
|
- platform: uptime
|
|
name: "Uptime (s):"
|
|
update_interval: ${local_update_interval}
|
|
id: uptime_sensor
|
|
entity_category: diagnostic
|
|
|
|
- platform: wifi_signal
|
|
name: "Wifi (dB):"
|
|
id: wifi_signal_db
|
|
update_interval: ${local_update_interval}
|
|
entity_category: diagnostic
|
|
|
|
binary_sensor:
|
|
- platform: status
|
|
name: "Network Status"
|
|
icon: mdi:check-network-outline
|
|
entity_category: diagnostic
|
|
|
|
##########################################################################################
|
|
# BUTTONS
|
|
# Diagnostic buttons, activated if needed in HA
|
|
##########################################################################################
|
|
button:
|
|
- platform: safe_mode
|
|
name: "Safe Mode Restart:"
|
|
entity_category: "diagnostic"
|
|
disabled_by_default: true
|
|
- platform: restart
|
|
name: "Restart:"
|
|
entity_category: "diagnostic"
|
|
disabled_by_default: true
|
|
- platform: factory_reset
|
|
name: "FACTORY RESET:"
|
|
entity_category: "diagnostic"
|
|
disabled_by_default: true
|