Skip to content

Question about Capability not found in inventory issue #2491

@pInksenberg

Description

@pInksenberg

Hi @sbkimaqara, we found following error messages from hub log while onboarding Aqara window curtain, could you please check with the driver code?
log error:

2025-10-21_06:46:51.486 | I | edi        | Capability not found in inventory: (stse.reverseCurtainDirection, 1)
2025-10-21_06:46:52.941 | W | broker     | <Zigbee Window Treatment (67f870f0)> Unexpected filesystem lookup for capability stse.reverseCurtainDirection
2025-10-21_06:46:52.944 | I | edi        | Capability not found in inventory: (stse.softTouch, 1)
2025-10-21_06:46:52.952 | W | broker     | <Zigbee Window Treatment (67f870f0)> Unexpected filesystem lookup for capability stse.softTouch
2025-10-21_06:46:54.829 | I | edi        | Capability not found in inventory: (stse.reverseRollerShadeDir, 1)
2025-10-21_06:46:54.835 | W | broker     | <Zigbee Window Treatment (67f870f0)> Unexpected filesystem lookup for capability stse.reverseRollerShadeDir
2025-10-21_06:46:55.118 | I | edi        | Capability not found in inventory: (stse.reverseCurtainDirection, 1)
2025-10-21_06:46:55.132 | W | broker     | <Zigbee Window Treatment (67f870f0)> Unexpected filesystem lookup for capability stse.reverseCurtainDirection
2025-10-21_06:46:55.155 | I | edi        | Capability not found in inventory: (stse.softTouch, 1)

we are thinking it is a error with requiring the stse prefences, after we try with following modifications, the error log is gone.
local reverseRollerShadeDir = capabilities["stse.reverseRollerShadeDir"] ---> local reverseRollerShadeDir = "stse.reverseRollerShadeDir" (same as other preferences)
device.preferences[reverseCurtainDirection.ID] ---> device.preferences[reverseCurtainDirection] (same as other preferences)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions