homieiot / convention

🏡 The Homie Convention: a lightweight MQTT convention for the IoT
https://homieiot.github.io/
Other
713 stars 59 forks source link

feat(format): add color format 'xyz' #274

Closed Tieske closed 1 year ago

Tieske commented 1 year ago

replaces #255 the color part

Tieske commented 1 year ago

I added a second commit that will allow a property to support multiple color formats, eg, RGB + XYZ. This will enable homie-library authors to write the color conversion once, and the device author (using the library) will not have to write his own.

For example;

Obviously this is just a suggestion, it can be removed again.