Skip to content

Fix unnecessary read requests for some Xiaomi devices - #7602

Merged
manup merged 1 commit into
dresden-elektronik:masterfrom
SwoopX:fix_refresh_interval
Feb 15, 2024
Merged

manup merged 1 commit into
dresden-elektronik:masterfrom
SwoopX:fix_refresh_interval

Conversation

@SwoopX

@SwoopX SwoopX commented Feb 11, 2024

Copy link
Copy Markdown
Collaborator

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

@SwoopX SwoopX added the Fix label Feb 11, 2024
@mattreim

Copy link
Copy Markdown
Collaborator

Is it the same with "xiaomi_ssm-u01_t1_switch"?

@SwoopX

SwoopX commented Feb 11, 2024

Copy link
Copy Markdown
Collaborator Author

Is it the same with "xiaomi_ssm-u01_t1_switch"?

What do you mean?

@mattreim

Copy link
Copy Markdown
Collaborator

ssm-u01_t1_clickmode

ssm-u01_t1_devicemode

There seem to be quite a few queries.

@SwoopX

SwoopX commented Feb 11, 2024

Copy link
Copy Markdown
Collaborator Author

That is perfectly fine. An interval is defined here.

@mattreim

Copy link
Copy Markdown
Collaborator

Ok

@manup manup modified the milestones: v2.27.0-beta, v2.26.1-beta Feb 12, 2024
@manup
manup merged commit 77fa571 into dresden-elektronik:master Feb 15, 2024
@SwoopX
SwoopX deleted the fix_refresh_interval branch March 28, 2024 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants