Problems with turn on/turn off lights

Goodmorning everyone.
i installed home assistant 2020.12.2 and python 3.9.1 but when i tried to turn on or turn off my lights trough home assistant, it returns with error: “Failed to call switch / turn_off service
i attached log file of home assistant service.
Thanks!

You’re giving us the result of what happens without explaining how you got there. We’ll need more context to be able to help you.

What are you using to turn them on/off? A button car, an entities card, an entity card? A service…?
Are your devices availble?..

I’ll take a wild guess and assume that you’ve setup a service call in the UI without specifying the service_data in yaml:

  service: light.turn_on
  service_data:
    entity_id: light.the target_light_entity

Yes you are right!
I have 2 lamps.
one lamp is connected to the meross app and the other to the tuya app
Together connected in home assistant.
For integrate meross support i installed hacs.

I noticed a thing…when i reboot home assistant the lamps work for 3 times (I can turn them off, turn them on and change the color). After 3 times of change status HA output those errors.

What can i do?

Hi mondotech,

As I said, you need to provide more information for the community to be able to help you. You might want to take a good read at How to help us help you.

Ok
I installed home assistant core (latest version : december 2020) in my raspberry pi3 (no docker)
is that enough?
Sorry for my misunderstanding

So what can i do?