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
+4 -5
View File
@@ -35,15 +35,14 @@ done
for mystrom_appliance in \
car-charger \
freezer \
liv-room-entertainment \
living-room-entertainment \
outdoor-deer \
pool \
pool-pump \
recirculation-pump \
spare \
storage-heater \
tools
tools-power
do
custom_file="mystrom-${mystrom_appliance?}.yaml"
custom_file="${mystrom_appliance?}.yaml"
if [ -f "${custom_file?}" ]; then
flash+=("${command?} ${custom_file?}")
else