executeService method
Executes the provided action on the given Home Assistant Service.
entityId
is the entity to execute the service on.
Returns a bool indicating whether the service call was successful.
The action
and additionalActions
parameter is the Entity.attributes value for the service
Implementation
Future<bool> executeService(
String entityId,
String action, {
Map<String, dynamic> additionalActions = const {},
}) =>
_api.executeService(entityId, action, additionalActions: additionalActions);