Added armed_custom_bypass status. (#673)

Added icons for armed_night and armed_custom_bypass.
This commit is contained in:
uchagani
2017-11-28 00:39:24 -06:00
committed by Paulus Schoutsen
parent 326fa00365
commit 2680a3f7e3
3 changed files with 10 additions and 0 deletions

View File

@@ -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';
}