Skip to content

Commit

Permalink
Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
gulliverrr committed Nov 1, 2019
1 parent 01f312a commit 869925e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/home-screen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,15 @@ export default {
if (modeState.boostEnabled) {
return `${modeText} boost mode, ${modeState.boostTimeRemaining} min. remaining`
}
if (modeState.active) {
return `${modeText} auto`
if ((modeText == 'Fan') && ((modeState.active) || (modeState.running))) {
return `${modeText} on`
} else {
if (modeState.active) {
return `${modeText} auto`
}
}
return `${modeText} off`
}
return ''
Expand Down

0 comments on commit 869925e

Please sign in to comment.