5def6ebc3b0edc712f1350c50284179015e32ad7,homeassistant/components/light/iglo.py,IGloLamp,max_mireds,#IGloLamp#,76

Before Change


    @property
    def max_mireds(self):
        Return the warmest color_temp that this light supports.
        return 255

    @property
    def rgb_color(self):
        Return the RGB value.

After Change


    @property
    def max_mireds(self):
        Return the warmest color_temp that this light supports.
        return math.ceil(color_util.color_temperature_kelvin_to_mired(
            self._lamp.min_kelvin))

    @property
    def rgb_color(self):
        Return the RGB value.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


Project Name: home-assistant/home-assistant
Commit Name: 5def6ebc3b0edc712f1350c50284179015e32ad7
Time: 2018-01-13
Author: jesserockz@gmail.com
File Name: homeassistant/components/light/iglo.py
Class Name: IGloLamp
Method Name: max_mireds


Project Name: home-assistant/home-assistant
Commit Name: 7837b4893ff98e5782a57b7bfd6176ed88f1af63
Time: 2018-01-15
Author: jesserockz@gmail.com
File Name: homeassistant/components/light/iglo.py
Class Name: IGloLamp
Method Name: max_mireds


Project Name: home-assistant/home-assistant
Commit Name: 7837b4893ff98e5782a57b7bfd6176ed88f1af63
Time: 2018-01-15
Author: jesserockz@gmail.com
File Name: homeassistant/components/light/iglo.py
Class Name: IGloLamp
Method Name: min_mireds


Project Name: home-assistant/home-assistant
Commit Name: 5def6ebc3b0edc712f1350c50284179015e32ad7
Time: 2018-01-13
Author: jesserockz@gmail.com
File Name: homeassistant/components/light/iglo.py
Class Name: IGloLamp
Method Name: min_mireds