From 6ad7020f99f82e86698e4ae1d457d4d2a7ac8dd8 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 19 Feb 2021 13:30:27 +0100 Subject: [PATCH] Add Home Assistant color (#46751) --- homeassistant/components/light/services.yaml | 2 ++ homeassistant/util/color.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/homeassistant/components/light/services.yaml b/homeassistant/components/light/services.yaml index f777cd3d348..2161ed3f81d 100644 --- a/homeassistant/components/light/services.yaml +++ b/homeassistant/components/light/services.yaml @@ -30,6 +30,7 @@ turn_on: selector: select: options: + - "homeassistant" - "aliceblue" - "antiquewhite" - "aqua" @@ -368,6 +369,7 @@ toggle: selector: select: options: + - "homeassistant" - "aliceblue" - "antiquewhite" - "aqua" diff --git a/homeassistant/util/color.py b/homeassistant/util/color.py index 1e782f0c0f9..9a5fbdb180f 100644 --- a/homeassistant/util/color.py +++ b/homeassistant/util/color.py @@ -160,6 +160,8 @@ COLORS = { "whitesmoke": (245, 245, 245), "yellow": (255, 255, 0), "yellowgreen": (154, 205, 50), + # And... + "homeassistant": (3, 169, 244), }