Added frontend icon for simple_alarm

pull/14/head
Paulus Schoutsen 2014-12-09 00:29:07 -08:00
parent 00e1ecb5ad
commit 756425f7b4
3 changed files with 16 additions and 11 deletions

View File

@ -1,2 +1,2 @@
""" DO NOT MODIFY. Auto-generated by build_frontend script """ """ DO NOT MODIFY. Auto-generated by build_frontend script """
VERSION = "12ba7bca8ad0c196cb04ada4fe85a76b" VERSION = "f0d938f2a01a613e9fa0beb44940713d"

File diff suppressed because one or more lines are too long

View File

@ -28,23 +28,28 @@
return "image:flash-on"; return "image:flash-on";
case "chromecast": case "chromecast":
if(state && state != "idle") { var icon = "hardware:cast";
return "hardware:cast-connected";
} else { if (state !== "idle") {
return "hardware:cast"; icon += "-connected";
} }
return icon;
case "process": case "process":
return "hardware:memory" return "hardware:memory";
case "sun": case "sun":
return "image:wb-sunny" return "image:wb-sunny";
case "light": case "light":
return "image:wb-incandescent" return "image:wb-incandescent";
case "tellstick_sensor": case "tellstick_sensor":
return "trending-up"; return "trending-up";
case "simple_alarm":
return "social:notifications";
default: default:
return "bookmark-outline"; return "bookmark-outline";