1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00

Be smarter when to show group toggle

This commit is contained in:
Paulus Schoutsen
2015-09-24 07:59:37 -07:00
parent 7aadd6da9c
commit be2312de03
3 changed files with 12 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import {
reactor,
serviceGetters,
} from '../util/home-assistant-js-instance';
} from './home-assistant-js-instance';
// Return boolean if entity can be toggled.
export default function canToggle(entityId) {