Skip to content

Commit b45f1a5

Browse files
0xW3bJun6l30xW3bJun6l3
authored andcommitted
One Control to Rule Them all
1 parent ad03326 commit b45f1a5

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

install.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ VPDCHART="https://raw.githubusercontent.com/OpenGrow-Box/vpdchart-card/master/vp
7474
VERTICALCARD="https://github.com/ofekashery/vertical-stack-in-card/releases/download/v1.0.1/vertical-stack-in-card.js"
7575
CUSTOMTEMPPLATE="https://github.com/iantrich/config-template-card/releases/download/1.3.6/config-template-card.js"
7676
TAPPEDCARD="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"
7878
BUBBLECARD="https://raw.githubusercontent.com/Clooos/Bubble-Card/main/dist/bubble-card.js"
7979
BUBBLEFIX="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

149148
function 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

update.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ VPDCHART="https://raw.githubusercontent.com/OpenGrow-Box/vpdchart-card/master/vp
5656
VERTICALCARD="https://github.com/ofekashery/vertical-stack-in-card/releases/download/v1.0.1/vertical-stack-in-card.js"
5757
CUSTOMTEMPPLATE="https://github.com/iantrich/config-template-card/releases/download/1.3.6/config-template-card.js"
5858
TAPPEDCARD="https://github.com/kinghat/tabbed-card/releases/download/v0.3.2/tabbed-card.js"
59-
AUTOENTIES="https://raw.githubusercontent.com/thomasloven/lovelace-auto-entities/refs/heads/master/auto-entities.js"
59+
AUTOENTIES="https://github.com/thomasloven/lovelace-auto-entities/archive/refs/tags/v1.13.0.zip"
6060
BUBBLECARD="https://raw.githubusercontent.com/Clooos/Bubble-Card/main/dist/bubble-card.js"
6161
BUBBLEFIX="https://raw.githubusercontent.com/Clooos/Bubble-Card/main/dist/bubble-pop-up-fix.js"
6262

@@ -115,7 +115,7 @@ function OpenGrowBoxUpdate() {
115115
sudo wget "$TAPPEDCARD" -O "tabbed-card.js"
116116

117117
# Setup Auto Entities
118-
sudo wget "$AUTOENTIES" -O "auto-entities.js"
118+
sudo wget "$AUTOENTIES" -O "auto-entities.zip" && sudo unzip auto-entities.zip && sudo rm auto-entities.zip && cd lovelace-auto-entities-*
119119

120120
# Setup Bubble Card
121121
sudo wget "$BUBBLECARD" -O "bubble-card.js"

0 commit comments

Comments
 (0)