mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 10:59:50 +00:00
Use proper night time icon consistently for sun integration (#7681)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user