1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[color] Fix crash when hex color parses as int, improve error reporting. (#6707)

This commit is contained in:
Clyde Stubbs
2024-05-09 13:14:31 +10:00
committed by GitHub
parent afe81184a8
commit 5956bebcb7
2 changed files with 40 additions and 9 deletions

View File

@@ -9,3 +9,12 @@ color:
blue: 100%
- id: kbx_green
hex: "3DEC55"
- id: kbx_green_1
hex: 3DEC55
- id: cps_red
hex: 800000
- id: cps_green
hex: 008000
- id: cps_blue
hex: 000080