mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Added armed_custom_bypass status. (#673)
Added icons for armed_night and armed_custom_bypass.
This commit is contained in:
committed by
Paulus Schoutsen
parent
326fa00365
commit
2680a3f7e3
@@ -112,6 +112,10 @@ class HaStateLabelBadge extends
|
||||
return 'mdi:nature';
|
||||
} else if (state.state === 'armed_home') {
|
||||
return 'mdi:home-variant';
|
||||
} else if (state.state === 'armed_night') {
|
||||
return 'mdi:weather-night';
|
||||
} else if (state.state === 'armed_custom_bypass') {
|
||||
return 'mdi:security-home';
|
||||
} else if (state.state === 'triggered') {
|
||||
return 'mdi:alert-circle';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user