-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
[Bug] [zigbee2mqtt] Failed to setup switch for accessory tuya from expose "{"features":[{"access":3,"description":"Enables/disables physical input on t #443
Comments
If you just want to error to disappear, simply add The problem is that the device exposes a |
Hello, I just did your trick "defaults": { Unfortunately, I still get the error message. |
It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions! |
Just checked the code and the error message indeed stays as the check is done "too late".. I'll try to fix that. |
It appears that this issue did not have an update in quite some time. Please check if you can provide any additional information to help resolve this issue. If there isn't any activity in the next two weeks, this issue will be closed automatically. Thank you for your contributions! |
Please use the template and fill in all the data requested below!
Describe the bug
Message in Homebridge for all my TuYa TS011F_plug_3
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Restoring accessory: 0xa4c1389d5a91e50a (0xa4c1389d5a91e50a)
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Failed to setup switch for accessory Sapin from expose "{"features":[{"access":3,"description":"Enables/disables physical input on the device","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"type":"lock"}": Error: Required "lock_state" property not found for Lock.
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Restoring accessory: 0xa4c138d45d355204 (0xa4c138d45d355204)
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Failed to setup switch for accessory Guirlande from expose "{"features":[{"access":3,"description":"Enables/disables physical input on the device","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"type":"lock"}": Error: Required "lock_state" property not found for Lock.
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Restoring accessory: 0xa4c13877b1676118 (0xa4c13877b1676118)
[5/13/2022, 10:36:17 PM] [zigbee2mqtt] Failed to setup switch for accessory Lampadaire from expose "{"features":[{"access":3,"description":"Enables/disables physical input on the device","name":"state","property":"child_lock","type":"binary","value_off":"UNLOCK","value_on":"LOCK"}],"type":"lock"}": Error: Required "lock_state" property not found for Lock.
Related devices
Are you experiencing this behavior with a particular device? yes
TuYa TS011F_plug_3
To Reproduce
Steps to reproduce the behavior, for example:
Expected behavior
no error message
MQTT messages
The plug expose
{
"child_lock": "UNLOCK",
"current": 0,
"energy": 0,
"indicator_mode": "off/on",
"linkquality": 149,
"power": 0,
"power_outage_memory": "restore",
"state": "OFF",
"update": {
"state": "idle"
},
"voltage": 237
}
Versions used
Please provide the version of the following pieces of software:
zigbee2mqtt/bridge/info
) 1.25.1The text was updated successfully, but these errors were encountered: