al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.38k stars 613 forks source link

Missing property for Lydsto S1 #1767

Open ShinigamiJ opened 1 month ago

ShinigamiJ commented 1 month ago

Device model / 设备型号

Lydsto S1

Component version / 插件版本

0.7.19

HA core version / HA版本

2024.07

Integrated mode / 集成方式

Local (本地模式)

The problem / 问题详情

Unable to get room ids for device https://home.miot-spec.com/s/zhimi.vacuum.xa3:

service: xiaomi_miot.get_properties
data:
  entity_id: vacuum.zhimi_xa3_e2f9_robot_cleaner
  mapping:
    - siid: 2
      piid: 12
  throw: true
result:
  room_ids.error: "-4003 Property/Action/Event does not exist"

Same thing goes for maps, cannot do anything within siid 11. I even connected to cloud in configuration.yaml, but nothing changed. Unrelated question, what is attribute Custom.clean area ? Can it be used to control which area to clean? I'd like to get the map once and then send id to the vacuum locally which room to clean, and which map to use.

Entity attributes / 实体属性

Custom.clean area room_ids map

Home Assistant Logs / 系统日志

No response

al-one commented 1 month ago

The room-ids miot property is a parameter for the action (start-room-sweep) and does not have read permissions. Your device may not be able to obtain Room IDs via the miot protocol.

ShinigamiJ commented 1 month ago

That's exactly my question, I wanted to use the room-ids for the start-room-sweep action. Based on the documentation provided for this model (zhimi.vacuum.xa3) it's possible. So maybe the fact that it's not returned is a bug?