minor additions in V1.2
This commit is contained in:
41
esphome/common/sensors_common_lite.yaml
Normal file
41
esphome/common/sensors_common_lite.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
##########################################################################################
|
||||
# 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
|
Reference in New Issue
Block a user