Use esphome own syslog component instead of custom

This commit is contained in:
2026-01-05 21:05:18 +00:00
parent d4855e2f1c
commit 96ddd324f8
4 changed files with 13 additions and 335 deletions
+13 -5
View File
@@ -1,10 +1,18 @@
external_components:
# Path is relative to the main YAML file, not this device_base template!
- source: components
udp:
- id: syslog_server
addresses: !secret syslog_server
time:
# https://github.com/esphome/esphome/issues/12591
- id: syslog_fake_time
platform: sntp
timezone: UTC
servers:
- 127.0.0.1
# https://github.com/esphome/esphome/issues/12591
syslog:
ip_address: !secret syslog_server
udp_id: syslog_server
time_id: syslog_fake_time
mqtt:
# Disable logging to save bandwidth.