def send_sms_service(service): """Service to send sms from devices.""" send_sms(device_id=device_id, device_ids=device_ids, device_names=device_names, sms_number=service.data.get('number'), sms_text=service.data.get('message'), api_key=api_key)
def send_sms_service(service): """Service to send sms from devices.""" send_sms( device_id=device_id, sms_number=service.data.get("number"), sms_text=service.data.get("message"), api_key=api_key, )
def send_sms_service(service): """Service to send sms from devices.""" send_sms(device_id=device_id, device_ids=device_ids, device_names=device_names, sms_number=service.data.get('number'), sms_text=service.data.get('message'), api_key=api_key)
def send_sms_service(service: ServiceCall) -> None: """Service to send sms from devices.""" send_sms( device_id=device_id, device_ids=device_ids, device_names=device_names, sms_number=service.data.get("number"), sms_text=service.data.get("message"), api_key=api_key, )