mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Add binary sensor
This commit is contained in:
parent
99af263595
commit
244b8cde15
@ -5,6 +5,9 @@ export default function domainIcon(domain, state) {
|
||||
case 'alarm_control_panel':
|
||||
return state && state === 'disarmed' ? 'mdi:lock-open' : 'mdi:lock';
|
||||
|
||||
case 'binary_sensor':
|
||||
return 'mdi:radiobox-marked';
|
||||
|
||||
case 'camera':
|
||||
return 'mdi:video';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user