some bugfixes
This commit is contained in:
parent
ec4cbc1e7c
commit
198c681333
1 changed files with 0 additions and 2 deletions
|
|
@ -32,11 +32,9 @@ public class ZigbeeColorConfig extends ZigbeeHalEventDeviceConfig implements Hal
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ZclAttribute attribute = cluster.getAttribute(ZclColorControlCluster.ATTR_CURRENTHUE);
|
ZclAttribute attribute = cluster.getAttribute(ZclColorControlCluster.ATTR_CURRENTHUE);
|
||||||
attribute.setReporting(1, 900).get();
|
|
||||||
attribute.readValue(60);
|
attribute.readValue(60);
|
||||||
|
|
||||||
attribute = cluster.getAttribute(ZclColorControlCluster.ATTR_CURRENTSATURATION);
|
attribute = cluster.getAttribute(ZclColorControlCluster.ATTR_CURRENTSATURATION);
|
||||||
attribute.setReporting(1, 900).get();
|
|
||||||
attribute.readValue(60);
|
attribute.readValue(60);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.log(Level.WARNING, "Was unable to initialize cluster reporting rate.", e);
|
logger.log(Level.WARNING, "Was unable to initialize cluster reporting rate.", e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue