mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-15 05:16:34 +00:00
Fix icon for device_class occupancy (#801)
This commit is contained in:
parent
6fd8ad52b0
commit
4029508b3f
@ -241,7 +241,7 @@ window.hassUtil.binarySensorIcon = function (state) {
|
||||
case 'motion':
|
||||
return activated ? 'mdi:walk' : 'mdi:run';
|
||||
case 'occupancy':
|
||||
return activated ? 'mdi:home' : 'mdi:home-outline';
|
||||
return activated ? 'mdi:home-outline' : 'mdi:home';
|
||||
case 'opening':
|
||||
return activated ? 'mdi:square' : 'mdi:square-outline';
|
||||
case 'plug':
|
||||
|
Loading…
x
Reference in New Issue
Block a user