Call a service
One of the most important features is to call services in Home Assistant. Call service takes three parameters, the domain of the service, the service to call and custom data provided. The custom data is a anonymous type that should have same structure as expected input data. Remember to provide the entity_idof these services that require it.