mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 02:49:51 +00:00
Upgrade to material design icons
This commit is contained in:
@@ -2,8 +2,6 @@
|
||||
|
||||
<link rel="import" href="../../../bower_components/iron-icon/iron-icon.html">
|
||||
|
||||
<link rel="import" href="../../resources/home-assistant-icons.html">
|
||||
|
||||
<dom-module id="ha-state-icon">
|
||||
<template>
|
||||
<iron-icon icon="[[computeIcon(stateObj)]]"></iron-icon>
|
||||
|
||||
@@ -82,7 +82,7 @@ export default new Polymer({
|
||||
return domainIcon(state.domain, state.state);
|
||||
case 'sun':
|
||||
return state.state === 'above_horizon' ?
|
||||
'image:wb-sunny' : 'image:brightness-3';
|
||||
domainIcon(state.domain) : 'mdi:brightness-3';
|
||||
default:
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user