minor additions in V1.2
This commit is contained in:
9
esphome/common/api_common_noencryption.yaml
Normal file
9
esphome/common/api_common_noencryption.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
#############################################
|
||||
# Enable the Home Assistant API
|
||||
# https://esphome.io/components/api.html
|
||||
#############################################
|
||||
api:
|
||||
#encryption:
|
||||
#key: ${local_api_key}
|
||||
reboot_timeout: 0s # disables watchdog reboot on API failure
|
||||
|
@@ -21,3 +21,4 @@ mqtt:
|
||||
discover_ip: False # enable device discovery (true is default)
|
||||
id: mqtt_client
|
||||
reboot_timeout: 0s # same for MQTT
|
||||
log_topic: null # <— stops MQTT log streaming (big JSON payloads)
|
||||
|
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