Homeassistant.turn_on/off vs light.turn_on/off?

What’s the difference between the homeassistant.turn_on/off services and for example the light.turn_on/off services? From my research of examples, it would appear that the homeassistant service is generic while the light service is specific to light devices. Is there any reason not to simply use the homeassistant service for everything including lights?

Thanks// Chris

1 Like

Your research is correct and use the homeassistant.turn_on service is applicable for most use cases. You can use light.turn_on on a group if you only want to turn on the lights for example.

2 Likes