Skip to content

Commit

Permalink
Improve HUE messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTocs committed Mar 19, 2022
1 parent 6999c97 commit 9704cb8
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/components/plugins/hue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,28 @@
Connect to HUE hub for light control
</v-card-subtitle>
<v-card-text>
<span v-if="isConnected"> Already connect to HUE hub </span>
<span v-if="isConnected"> Already connected to HUE hub. </span>
<span v-else>
Push the button on your HUE Bridge, then you have about 30 seconds
to click connect below
</span>
</v-card-text>
<v-card-actions>
<v-btn
v-if="!isConnected"
color="primary"
:loading="connecting"
@click="startSearchForHub"
>
Connect to HUE
Connect to HUE Hub
</v-btn>
<v-btn
v-else
color="secondary"
:loading="connecting"
@click="startSearchForHub"
>
Reconnect to HUE Hub
</v-btn>
</v-card-actions>
</v-card>
Expand Down

0 comments on commit 9704cb8

Please sign in to comment.