milo526 / homebridge-tuya-web

Hoobs and Homebridge plugin for Tuya devices using Home Assistant Tuya Web Api
MIT License
218 stars 93 forks source link

Motion Sensor Zigbee as socket/switch #398

Closed jraa closed 2 years ago

jraa commented 2 years ago

Describe the bug

I have a motion sensor zigbee connected to gateway tuya and it shows as a socket/switch on HomeKit.

Steps To Reproduce

Plugin Version

Firmware 1.1.1

Homebridge Config

{
            "name": "TuyaWebPlatform",
            "options": {
                "username": ,
                "password": ,
                "countryCode": "351",
                "platform": "tuya",
                "pollingInterval": 900
            },
            "defaults": [
                {
                    "device_type": "form"
                }
            ],
            "scenes": false,
            "hiddenAccessories": [
                "Estore Varanda",
            ],
            "platform": "TuyaWebPlatform"
        }

Device Config

Additional Context

milo526 commented 2 years ago

Please post the result of the steps under "How to check whether the api this library uses can control your device".

Without this it is hard for me to help you with regards to this specific issue.