增加local_delay_update,适配中弘小超人控制器与空调同步延迟问题 #1113
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
中弘小超人空调控制器(qdhkl.aircondition.b23),和空调的通信有延迟,本地模式下如果操作以后马上获取状态,会获取到操作前的状态,空调开关回弹到操作前的状态。
增加一个local_delay_update的自定义配置参数,用于配置本地模式下的读取延迟
经过测试,这个设备加入和云端同样8秒延迟后,本地模式下也能够正常操作设备
#1099