Skip to content

Commit c2e261b

Browse files
committed
CloudDimmedLight: Remove fake variables from cbor message
- Is not possible to associate a color widget to a CloudDimmedLight variable
1 parent 74cd3ff commit c2e261b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Diff for: src/property/types/automation/CloudDimmedLight.h

-9
Original file line numberDiff line numberDiff line change
@@ -100,16 +100,7 @@ class CloudDimmedLight : public Property {
100100

101101
virtual CborError appendAttributesToCloud(CborEncoder *encoder) {
102102
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));
109103
CHECK_CBOR_MULTI(appendAttribute(_value.bri, "bri", encoder));
110-
// should be only:
111-
// appendAttribute(_value.bri);
112-
// end
113104
return CborNoError;
114105
}
115106

0 commit comments

Comments
 (0)