Skip to content

Commit

Permalink
fix(ui): battery powered devices shown as main
Browse files Browse the repository at this point in the history
Fixes #546
  • Loading branch information
robertsLando committed Feb 15, 2021
1 parent 4383f9d commit 4afaeee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/custom/ZwaveGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -785,8 +785,7 @@ export default {
if (id === hubNode) {
entity.shape = 'house'
} else {
entity.shape =
entity.forwards || batlev === undefined ? 'rect' : 'battery'
entity.shape = batlev === undefined ? 'rect' : 'battery'
}
if (node.failed) {
Expand Down

0 comments on commit 4afaeee

Please sign in to comment.