esphome-configs/packages/cms-general.yaml

45 lines
857 B
YAML
Raw Normal View History

2022-11-03 20:58:58 -04:00
esphome:
name: "${node_name}"
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_password
encryption:
key: !secret api_key
ota:
password: !secret ota_password
wifi:
ssid: "CMS-HVAC"
password: !secret wifi_password
2023-04-20 00:48:24 -04:00
domain: .hvac.claremontmakerspace.org
# Sync time with Home Assistant.
time:
- platform: homeassistant
id: homeassistant_time
# Text sensors with general information.
text_sensor:
# Expose ESPHome version as sensor.
- platform: version
name: ${node_name} ESPHome Version
# Expose WiFi information as sensors.
- platform: wifi_info
ip_address:
name: ${node_name} IP
ssid:
name: ${node_name} SSID
bssid:
name: ${node_name} BSSID
# Sensors with general information.
sensor:
# Uptime sensor.
- platform: uptime
name: ${node_name} Uptime