TUYA Integration and SMART LIFE Lamp and switches

Hi, i’m new in this forum. I have a problem setting up my smart lamp and switches in Home Assistant. I have configured everything in my Smart Life app where the devices work. But I wanted to be able to integrate them also on HA, looking on the internet i found this configuration:

tuya:
  username: [email protected]
  password: xxxxxx
  country_code: 39
  platform: smart_life
...but it does not work..

Can someone help me?