Skip to content
New issue

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

getLockTargetState not in configured values #677

Open
Chrismarsh opened this issue Jun 17, 2024 · 0 comments
Open

getLockTargetState not in configured values #677

Chrismarsh opened this issue Jun 17, 2024 · 0 comments

Comments

@Chrismarsh
Copy link

I'm trying to add a door lock that uses unlocked and locked values, according to zwave-js ui

{
    "type": "lockMechanism",
    "name": "Front door",
    "url": "mqtt://192.168.1.206:1883",
    "logMqtt": true,
    "topics": {
        "getLockCurrentState": {
            "topic": "zwave/smartcode/98/0/boltStatus"
        },
        "getLockTargetState ": {
            "topic": "zwave/smartcode/98/0/boltStatus"
        },
        "setLockTargetState": {
            "topic": "zwave/smartcode/98/0/boltStatus"
        }
    },
    "lockValues": [
        "unlocked",
        "locked",
        "J",
        "?"
    ],
    "accessory": "mqttthing"
}

However, I get this strange warning when doing so. This is not expected

[6/16/2024, 10:32:32 PM] [Front door] Warning: lockCurrentState received [{"time":1718595363115,"value":"unlocked"}] which is not in configured values {"unlocked":0,"locked":1,"J":2,"?":3}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant