Remove mystrom prefix from device names

Limits hostname length.
This commit is contained in:
2023-07-19 18:22:16 +02:00
parent c2591912b8
commit d9963707c4
5 changed files with 15 additions and 17 deletions
+24
View File
@@ -0,0 +1,24 @@
substitutions:
name: "car-charger"
packages:
device_base: !include templates/mystrom.yaml
time:
- platform: sntp
on_time:
# SAK Schwachlast (T2) https://www.sak.ch/private/strom/strompreise2023
# Montag bis Freitag: 00.00 bis 07.00 Uhr | 19.00 bis 24.00 Uhr
# Samstag bis Sonntag: 00.00 bis 24.00 Uhr
- hours: 19
minutes: 0
seconds: 0
days_of_week: MON-FRI
then:
- switch.turn_on: mystrom_relay
- hours: 7
minutes: 0
seconds: 0
days_of_week: MON-FRI
then:
- switch.turn_off: mystrom_relay