Files
esphome/outdoor-equipment.yaml
T
artem e5109b056f Move time server IP to secrets
Mostly not because it's "secret" but to make templates
reusable.
2025-01-20 21:40:26 +01:00

37 lines
796 B
YAML

substitutions:
name: "outdoor-equipment"
friendly_name: "Outdoor equipment"
esphome:
area: "Backyard"
packages:
device_base: !include templates/mystrom.yaml
time: !include templates/time.yaml
time:
- platform: sntp
id: sntp_time
servers: !secret sntp_servers
on_time:
#
# Pool pump: requires 6h of pumping daily, of which 3h
# run with saltwater system enabled, usually
# 17:00 - 20:00 to balance between lower sunlight
# (for chlorine generation) and lower humidity
# (for ozone generation).
#
- hours: 15
minutes: 35
seconds: 0
months: APR-OCT
then:
- switch.turn_on: mystrom_relay
- hours: 21
minutes: 35
seconds: 0
months: APR-OCT
then:
- switch.turn_off: mystrom_relay