dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Fix unnecessary read requests for some Xiaomi devices #7602

Closed SwoopX closed 7 months ago

SwoopX commented 7 months ago

Some read functions were without refresh.interval, potentially resulting in excessive unwanted read requests.

mattreim commented 7 months ago

Is it the same with "xiaomi_ssm-u01_t1_switch"?

SwoopX commented 7 months ago

Is it the same with "xiaomi_ssm-u01_t1_switch"?

What do you mean?

mattreim commented 7 months ago

ssm-u01_t1_clickmode

ssm-u01_t1_devicemode

There seem to be quite a few queries.

SwoopX commented 7 months ago

That is perfectly fine. An interval is defined here.

mattreim commented 7 months ago

Ok