We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
babai.curtain.bb82cb
0.7.19
2024.7.3
Local (本地模式)
curtain.target_position
curtain_position
xiaomi_miot.get_properties
current_position: 69 model: babai.curtain.bb82cb lan_ip: 192.168.0.80 mac_address: B8:50:D8:DE:C5:76 entity_class: MiotCoverEntity home_room: 我的家 客廳 miot_type: urn:miot-spec-v2:device:curtain:0000A00C:babai-bb82cb:1 curtain.fault: 0 curtain.mode.error: "-4004 Other internal errors" curtain.current_position.error: "-4004 Other internal errors" state_updater: lan curtain.motor_control: 0 curtain.target_position: 69 device_information.serial_no.error: "-4004 Other internal errors" curtain.target_position.error: "-4004 Other internal errors" device_class: curtain friendly_name: 窗帘 Curtain supported_features: 15
No response
The text was updated successfully, but these errors were encountered:
解决方法:
target_position
current_position
interval_seconds
Sorry, something went wrong.
以下是用HA设置开合度100% (全开)之后,用遥控器关闭窗帘到45%,并手动用service更新的attributes:
current_position: 100 model: babai.curtain.bb82cb lan_ip: 192.168.0.80 mac_address: B8:50:D8:redatced entity_class: MiotCoverEntity home_room: redacted miot_type: urn:miot-spec-v2:device:curtain:0000A00C:babai-bb82cb:1 curtain.fault: 0 curtain.target_position.error: "-4004 Other internal errors" curtain.mode.error: "-4004 Other internal errors" state_updater: lan curtain.target_position: 100 device_class: curtain friendly_name: Curtain supported_features: 15 curtain.current_position: 45 curtain.current_position.error: "-4004 Other internal errors"
可以看见 curtain.current_position 已经是45%了,但是由于 current_position 没有更新,HA认为窗帘仍然在 100%
curtain.current_position
No branches or pull requests
Device model / 设备型号
babai.curtain.bb82cb
Component version / 插件版本
0.7.19
HA core version / HA版本
2024.7.3
Integrated mode / 集成方式
Local (本地模式)
The problem / 问题详情
curtain.target_position
,因为遥控器只能控制开/合/停。只有经HA控制一次之后才会出现。curtain_position
只会在手动用xiaomi_miot.get_properties
查询siid:2, piid:3, 5的时候更新。不会自动更新。除非是经HA设置开合度。Entity attributes / 实体属性
Home Assistant Logs / 系统日志
No response
The text was updated successfully, but these errors were encountered: