I am learning to do some automations , like turn off a sonoff lamp
Under service , I see there is one called " Homeassistant_turnoff" and one called “switch_turnoff”
Which one would you use to turn OFF a Sonoff lamp ?
Depends on entity id, for entity called “switch.whatever” use service “switch.turn_off” for entity called “light.something” use service “light.turn_off” and so on