Repository navigation
Distinguish RGB and RGBW lamps - #17
Conversation
|
@tfriedel Hi! Could you please comment in home-assistant/core#21176 that you also tested those changes? Maybe that could speed up the reviewing process :) Thanks! |
|
right, that seems stuck atm unfortunately. maybe I have to check what's
going on with the log messages first
Am Sa., 9. März 2019 um 10:28 Uhr schrieb OleksandrBerchenko <
[email protected]>:
… @tfriedel <https://github.com/tfriedel> Hi! Could you please comment in
home-assistant/core#21176
<home-assistant/core#21176> that you
also tested those changes? Maybe that could speed up the reviewing process
:)
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABu6xnmEi-MeMGYsaLas3Zs88jijZLioks5vU37HgaJpZM4a_FTe>
.
|
|
@tfriedel It looks like the issue exists only if it's installed as a custom component + there is no logging configuration in Thanks! |
|
ok I don't understand this completely yet, but I wonder why we have DEBUG
as default. can we fix this easily by changing the default to WARNING as
well?
Am Sa., 9. März 2019 um 11:46 Uhr schrieb OleksandrBerchenko <
[email protected]>:
… @tfriedel <https://github.com/tfriedel> It looks like the issue exists
only if it's installed as a custom component + there is no logging
configuration in configuration.yaml (and we rely on some default values).
Well, I didn't try it as a custom component (because it's not going to be a
"custom component" :) ), but I suspect that custom components ignore Home
Assistant default (WARNING) and use their own defaults (DEBUG in our
case). To be honest, I don't see a problem here. Maybe I'm wrong.
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABu6xuJt7oCitxRzPE9mmcMROaVTXJvgks5vU5D1gaJpZM4a_FTe>
.
|
|
@tfriedel As far as I observe, if I set it to or Also see home-assistant/core#21176 (comment) . Thanks! |
|
I did copy over osramlightify.py the old and manually upgraded lightify and logging worked with the snippets you posted. Also when no "logger:" config was present, it was not defaulting to debug. I could reproduce @SukramJ 's problem, that with a fresh home assistant installation and osramlightify as a custom component the default logging level for lightify was debug. Not only that, after I reproduced this problem I moved it from custom_components over the old one. I expected the problem would not appear then. But it appeared there too. |
|
turns out it is easier to fix then I thought. |
|
@tfriedel Wow, never tried that. I will double check and apply a fix. Thanks! |
All unknown lamps are still treated as RGBW.
I have also reordered DeviceSubType (while it's not too late): it's more likely to get new sensor types than new switches.