1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-19 04:20:56 +00:00
Dorian Zedler b6f628ee40
Feat: add support for hex color in color component (#4493)
* Feat: add support for hex color in color component

* Chore: move hex color validator to color component

* Chore: add test

* Chore: fix formatting

* Chore: make linter happy

* Chore: make linter happy

* Fix: parse correct offsets

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>

* Chore: use cv.Invalid

* Fix: remove # because it indicates a comment in yaml

* Fix: only allow hex if no other color value is set

* Fix: tests

* Fix: mutual exclusion of raw and hex colors

* Chore: format file

* Update __init__.py

---------

Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-13 13:32:21 +13:00
2023-02-26 20:13:45 +00:00
2023-03-07 04:06:42 +00:00
2022-09-06 15:48:01 +12:00
2022-09-06 15:48:01 +12:00
2022-10-05 20:09:27 +13:00
2021-03-07 16:03:16 -03:00
2022-10-05 20:09:27 +13:00

ESPHome Discord Chat GitHub release

ESPHome Logo

Documentation: https://esphome.io/

For issues, please go to the issue tracker.

For feature requests, please see feature requests.

Description
No description provided
Readme Multiple Licenses 324 MiB
Languages
C++ 70.1%
Python 29.6%
C 0.1%