Closed Garfonso closed 4 years ago
Merging #11 into master will not change security risk.
Clean: 5
Clean: 6
Escaping is OK, but double ON is the desired logic. Only the first one will be used.
...but double ON is the desired logic. Only the first one will be used.
But why do you have ON and ON_LIGHT in other light devices?
Also I got reports from people where the "wrong" ON is used and there are multiple. This is often the case with lights that have some effects that are switched with a "switch"-role state. Not sure why the wrong ON is used in this cases. I'll check if the right switch was "switch.light" (if I find those reports again ;-) )
Ah, I see, you deleted ON_LIGHT everywhere. Ok. 😄
Those had two "ON" properties (is that meant to work anyway?) -> other light type define ON property for
switch
role and ON_LIGHT forswitch.light
role. (The first might target Power on/off and the latter is more specific for light on/off?)Also the . was not escaped for those two regexp.