rospogrigio / localtuya

local handling for Tuya devices
GNU General Public License v3.0
2.98k stars 563 forks source link

Setup failed for custom integration localtuya: Invalid config. after update to 4.1.0 #1032

Open seanmccabe opened 2 years ago

seanmccabe commented 2 years ago

The problem

LocalTuya not loaded due to an invalid config since updating to 4.1.0

image

Environment

Steps to reproduce

  1. Updated to 4.1.0
  2. Restarted 3.Issue presented

Provide Home Assistant taceback/logs

2022-09-14 11:13:36.276 ERROR (MainThread) [homeassistant.config] Invalid config for [localtuya]: value must be one of ['binary_sensor'] for dictionary value @ data['localtuya'][0]['entities'][0]['platform']. Got 'switch'. (See /config/configuration.yaml, line 193). Please check the docs at https://github.com/rospogrigio/localtuya/
2022-09-14 11:13:36.281 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration localtuya: Invalid config.
pluim003 commented 2 years ago

I encounter the same.

licheng5625 commented 3 months ago

same issue here , still not fixed?