Change to work like the alarm control panel

This commit is contained in:
Fabian Affolter 2015-11-18 22:28:31 +01:00
parent 0269527fdb
commit 5ba4378c25
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export default function domainIcon(domain, state) {
return state && state === 'disarmed' ? 'mdi:lock-open' : 'mdi:lock';
case 'binary_sensor':
return 'mdi:radiobox-marked';
return state && state === 'off' ? 'mdi:radiobox-blank' : 'mdi:radiobox-marked';
case 'camera':
return 'mdi:video';