Combined with script

This commit is contained in:
Fabian Affolter 2015-11-20 15:23:24 +01:00
parent c39daa6a59
commit 717a3699b2

View File

@ -39,10 +39,9 @@ export default new Polymer({
computeClasses(state) {
switch (state.domain) {
case 'binary_sensor':
return state.state === 'on' ? 'blue' : 'grey';
case 'scene':
return 'green';
case 'binary_sensor':
case 'script':
return state.state === 'on' ? 'blue' : 'grey';
case 'updater':