localtuya-homeassistant
localtuya-homeassistant copied to clipboard
invalid config for switch
First, thanks for this custom component. I got it working (HA 0.115.6 running on a RPi 3B+). I have a two-gangs switch, i'm newbie. I did:
-
Copy switch.py and the other 2 integration/platform files, and pytuya handler folder, to /custom_components/localtuya/ folder, inside /config folder (via Samba for HASSIO).
-
Identify on your Home-Assistant logs (putting your logging into debug mode), the different attributes you want to handle by HA. HA said: "2020-10-02 22:44:37 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant."
-
i edited configuration.yaml file with my local_key and device_id. But when i checked configuration, HA said "Invalid config for [switch]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 10). " Can you help me fix this problem? Many thanks
This repo looks discontinued. You may have a look at mine: https://github.com/rospogrigio/localtuya-homeassistant , bye!
Many thanks Rospogrigio