Use proper night time icon consistently for sun integration (#7681)

This commit is contained in:
Philip Allgaier
2020-11-17 15:48:54 +01:00
committed by GitHub
parent 7c492338a2
commit 90f7dba793
2 changed files with 6 additions and 4 deletions

View File

@@ -154,11 +154,8 @@ export class HaStateLabelBadge extends LitElement {
case "device_tracker":
case "updater":
case "person":
return stateIcon(state);
case "sun":
return state.state === "above_horizon"
? domainIcon(domain)
: "hass:brightness-3";
return stateIcon(state);
case "timer":
return state.state === "active"
? "hass:timer-outline"