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:
1) 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).
2) 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."
3) 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
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: 1) 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).
2) 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."
3) 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![Screenshot 2020-10-02 233346](https://user-images.githubusercontent.com/71742958/94947401-c8667580-0507-11eb-91fc-18e24ee86af8.png)