1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-22 05:44:04 +00:00
Cody James c5dc736c53
changed color temp from float to int (#1522)
* changed color temp from float to int

Changed cold_white_temperature and warm_white temperature from a float to an integer. This makes home assisting show it correctly in the color temperature slider. If it is set to float home assistant show something like 470.8390000283847829304845 in the slider which provides an ugly ui and color temperature to as a decimal is invalid anyway.

* Update esphome/components/rgbww/light.py

* Update esphome/components/rgbww/light.py

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2021-03-02 23:41:15 -03:00
..
2021-03-02 11:08:57 -03:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2021-02-27 19:21:07 -03:00
2021-01-08 16:11:42 -03:00
2021-03-01 22:16:36 -03:00
2019-12-07 18:28:55 +01:00
2019-10-24 14:19:33 +02:00
2019-12-07 18:28:55 +01:00
2020-07-15 14:00:02 +02:00
2019-12-07 18:28:55 +01:00
2019-12-07 18:28:55 +01:00
2021-02-27 19:21:07 -03:00
2019-12-07 18:28:55 +01:00