Merge pull request #18 from Bart274/master

Update state-badge.html to color the badge of a binary sensor
This commit is contained in:
Paulus Schoutsen 2016-01-12 07:58:51 -08:00
commit d217edecf3

View File

@ -31,6 +31,7 @@
/* Color the icon if light or sun is on */
ha-state-icon[data-domain=light][data-state=on],
ha-state-icon[data-domain=switch][data-state=on],
ha-state-icon[data-domain=binary_sensor][data-state=on],
ha-state-icon[data-domain=sun][data-state=above_horizon] {
color: #DCC91F;
}