Add state color for schedule and plant domains (#15020)

* Add state color for schedule domain

* Add state color for plant domain
This commit is contained in:
Paul Bottein 2023-01-11 09:53:36 +01:00 committed by GitHub
parent af9a8fa3e7
commit 7136142437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -23,7 +23,9 @@ const STATIC_ACTIVE_COLORED_DOMAIN = new Set([
"input_boolean",
"light",
"media_player",
"plant",
"remote",
"schedule",
"script",
"siren",
"switch",

View File

@ -172,7 +172,9 @@ documentContainer.innerHTML = `<custom-style>
--rgb-state-person-home-color: var(--rgb-green-color);
--rgb-state-person-not-home-color: var(--rgb-grey-color);
--rgb-state-person-zone-color: var(--rgb-blue-color);
--rgb-state-plant-color: var(--rgb-red-color);
--rgb-state-remote-color: var(--rgb-amber-color);
--rgb-state-schedule-color: var(--rgb-amber-color);
--rgb-state-script-color: var(--rgb-amber-color);
--rgb-state-sensor-battery-high-color: var(--rgb-green-color);
--rgb-state-sensor-battery-low-color: var(--rgb-red-color);