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-02-26 10:32:23 -03:00
2020-12-13 16:24:26 -03:00
2020-10-27 12:41:57 +13:00
2018-09-25 10:30:45 +02:00
2020-12-13 16:24:26 -03:00
2021-02-10 09:20:31 -03:00
2019-02-14 13:49:22 +01:00
2020-07-24 10:35:07 +02:00

ESPHome Build Status 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
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme Multiple Licenses 190 MiB
Languages
C++ 63.9%
Python 35.9%
C 0.1%