@@ -74,7 +74,7 @@ VPDCHART="https://raw.githubusercontent.com/OpenGrow-Box/vpdchart-card/master/vp
7474VERTICALCARD=" https://github.com/ofekashery/vertical-stack-in-card/releases/download/v1.0.1/vertical-stack-in-card.js"
7575CUSTOMTEMPPLATE=" https://github.com/iantrich/config-template-card/releases/download/1.3.6/config-template-card.js"
7676TAPPEDCARD=" https://github.com/kinghat/tabbed-card/releases/download/v0.3.2/tabbed-card.js"
77- AUTOENTIES=" https://raw.githubusercontent. com/thomasloven/lovelace-auto-entities/refs/heads/master/auto-entities.js "
77+ AUTOENTIES=" https://github. com/thomasloven/lovelace-auto-entities/archive/ refs/tags/v1.13.0.zip "
7878BUBBLECARD=" https://raw.githubusercontent.com/Clooos/Bubble-Card/main/dist/bubble-card.js"
7979BUBBLEFIX=" https://raw.githubusercontent.com/Clooos/Bubble-Card/main/dist/bubble-pop-up-fix.js"
8080
@@ -143,7 +143,6 @@ function postSetup(){
143143 echo " Install ADDONS"
144144 ha addons install core_configurator
145145 ha addons install a0d7b954_nodered
146-
147146}
148147
149148function OpenGrowBoxSetup() {
@@ -168,7 +167,9 @@ function OpenGrowBoxSetup() {
168167
169168 # Node-Red-Companion-Setup
170169 echo " Setup Node-Red-Companion-Integration"
171- cd /usr/share/hassio/homeassistant/custom_components && sudo mkdir nodered && cd nodered
170+ cd /usr/share/hassio/homeassistant/custom_components
171+ sudo mkdir nodered
172+ cd nodered
172173 sudo wget " $NRCOMPANION " -O nodered.zip
173174 sudo unzip nodered.zip
174175 sudo mv hass-node-red-main/custom_components/nodered/* .
@@ -179,7 +180,7 @@ function OpenGrowBoxSetup() {
179180 cd /usr/share/hassio/homeassistant/custom_components
180181 sudo mkdir opengrowbox
181182 cd opengrowbox
182- sudo wget $OGB -O ogb.zip
183+ sudo wget " $OGB " -O ogb.zip
183184 sudo unzip ogb.zip
184185 sudo mv OpenGrowBox-HA-* /custom_components/opengrowbox/* .
185186 sudo rm -rf OpenGrowBox-HA-* ogb.zip
@@ -212,9 +213,8 @@ function OpenGrowBoxSetup() {
212213 sudo wget " $TAPPEDCARD " -O " tabbed-card.js"
213214
214215 # Setup Auto Entities
215- sudo wget " $AUTOENTIES " -O " auto-entities.js"
216-
217- # Setup Bubble Card
216+ sudo wget " $AUTOENTIES " -O " auto-entities.zip" && sudo unzip auto-entities.zip && sudo rm auto-entities.zip && cd lovelace-auto-entities-*
217+ # Setup Bubble Cardhist
218218 sudo wget " $BUBBLECARD " -O " bubble-card.js"
219219 sudo wget " $BUBBLEFIX " -O " bubble-pop-up-fix.js"
220220
0 commit comments