We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74cd3ff commit c2e261bCopy full SHA for c2e261b
src/property/types/automation/CloudDimmedLight.h
@@ -100,16 +100,7 @@ class CloudDimmedLight : public Property {
100
101
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
102
CHECK_CBOR_MULTI(appendAttribute(_value.swi, "swi", encoder));
103
- // To allow visualization through color widget
104
- // Start
105
- float hue = 0;
106
- float sat = 0;
107
- CHECK_CBOR_MULTI(appendAttribute(hue, "hue", encoder));
108
- CHECK_CBOR_MULTI(appendAttribute(sat, "sat", encoder));
109
CHECK_CBOR_MULTI(appendAttribute(_value.bri, "bri", encoder));
110
- // should be only:
111
- // appendAttribute(_value.bri);
112
- // end
113
return CborNoError;
114
}
115
0 commit comments