Skip to content

Commit

Permalink
2023.10.7 minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jumping2000 committed Oct 25, 2023
1 parent a5b9528 commit 3468d9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ custom_fields:
### ENERGY LABEL
#######################################
- type: state-label
entity: sensor.asciugatrice_oggi_energy
entity: sensor.lavastoviglie_oggi_energy
prefix: '🏭 '
style:
top: 0%
Expand Down
16 changes: 1 addition & 15 deletions smart_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ case "$option" in
;;
esac
done

info "Hai scelto: $selected_appliance"
# Scegli sensore energia
read -p "[REQUIRED] Enter energy sensor for the chosen appliance / [OBBLIGATORIO] Inserisci il sensore di energia (kWh) per l'elettrodomestico scelto: " energy_sensor
Expand All @@ -180,20 +180,6 @@ case "$option" in
rename_files "$result" "$haPath/packages/elettrodomestici"
replace_string "TAG_02" "$energy_sensor" "$haPath/packages/elettrodomestici/$result.yaml"

case $result in
washing_machine)
cp "$haPath/packages/keys_washing_machine.txt" "$haPath/packages/keys.txt"
;;
oven)
cp "$haPath/packages/keys_oven.txt" "$haPath/packages/keys.txt"
;;
dishwasher)
cp "$haPath/packages/keys_dishwasher.txt" "$haPath/packages/keys.txt"
;;
dryer)
cp "$haPath/packages/keys_dryer.txt" "$haPath/packages/keys.txt"
;;
esac
info "Now you can restart Home Assistant / Prima parte della configurazione finita, riavvia Home Assistant e continua con la configurazione"
else
echo
Expand Down

0 comments on commit 3468d9c

Please sign in to comment.